Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

CS101 FINAL DIXON UA ALABAMA QUESTIONS AND ANSWERS

Rating
-
Sold
-
Pages
4
Uploaded on
04-01-2025
Written in
2024/2025

CS101 FINAL DIXON UA ALABAMA QUESTIONS AND ANSWERS..

Institution
CS101
Course
CS101

Content preview

O(N) - ANSWER steps to delete item from BST, worst case

O(N) - ANSWER steps to build heap using bottom up method

O(lgN) - ANSWER steps to perform extactmin from min ordered heap

O(1) - ANSWER steps to perform enqueue on a queue implemented as a
linked list

O(N) - ANSWER steps for worst-case to insert an item into a hash table

O(1) - ANSWER goal of hashing is for inserts to take how many steps

O(N*lgN) - ANSWER heapsorting N elements takes how many steps?

O(1) - ANSWER using adjacency matrix, how many steps to determine if x
and y are adjacent

O(V) - ANSWER using adjacency matrix, how many steps to find all vertices
adjacent to x

O(V + E) - ANSWER how many steps to perform BFS of a graph

O(V) - ANSWER if we have a sparse graph with N vertices and the number of
incident edges of every node is <= 10, how long for DFS

O(1), O(lgN), O(N), O(N*lgN), O(N^2) - ANSWER what is ascending order
of runtimes

O(N) - ANSWER time complexity:

Written for

Institution
CS101
Course
CS101

Document information

Uploaded on
January 4, 2025
Number of pages
4
Written in
2024/2025
Type
Exam (elaborations)
Contains
Unknown

Subjects

$10.99
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF


Also available in package deal

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Boostertips Chamberlain College Nursing
Follow You need to be logged in order to follow users or courses
Sold
265
Member since
3 year
Number of followers
195
Documents
5175
Last sold
2 weeks ago

3.8

44 reviews

5
19
4
8
3
10
2
2
1
5

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions