100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

WGU C949 Algorithms & Data Structures Frequently Tested Exam Questions With Verified Multiple Choice and Conceptual Actual 100% Correct Detailed Answers Guaranteed Pass!!Current Update!!

Rating
-
Sold
-
Pages
15
Grade
A+
Uploaded on
21-11-2025
Written in
2025/2026

WGU C949 Algorithms & Data Structures Frequently Tested Exam Questions With Verified Multiple Choice and Conceptual Actual 100% Correct Detailed Answers Guaranteed Pass!!Current Update!! 1. Heapsort - ANSWER Optimal time and space 2. Height of a binary heap with N keys. - ANSWER log N 3. A binary heap is a complete tree. A complete tree is a tree with n levels, where for each level d ≤ n − 1, the number of existing nodes at level d is equal to 2d. The height of a binary heap is logN. 4. Height of a BST with N keys. - ANSWER N 5. In the worst-case, the height of a BST is N, e.g., when keys are inserted in increasing or de- creasing order. 6. Number of comparisons to sort N equal keys using our standard version of quicksort. - ANSWER N^2 N log N 7. Number of comparisons to sort N equal keys using 3-way quicksort. - ANSWER N

Show more Read less
Institution
WGU C949
Course
WGU C949









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
WGU C949
Course
WGU C949

Document information

Uploaded on
November 21, 2025
Number of pages
15
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Content preview

WGU C949 Algorithms & Data Structures
Frequently Tested Exam Questions With
Verified Multiple Choice and Conceptual
Actual 100% Correct Detailed Answers

Guaranteed Pass!!Current Update!!


1. Heapsort - ANSWER Optimal time and space



2. Height of a binary heap with N keys. - ANSWER log N


3. A binary heap is a complete tree. A complete tree is a tree with n levels,
where for each level d ≤ n − 1, the number of existing nodes at level d is
equal to 2d. The height of a binary heap is logN.



4. Height of a BST with N keys. - ANSWER N


5. In the worst-case, the height of a BST is N, e.g., when keys are inserted in
increasing or de- creasing order.


6. Number of comparisons to sort N equal keys using our standard version of
quicksort. - ANSWER N^2

N log N

, 7. Number of comparisons to sort N equal keys using 3-way quicksort. -
ANSWER N


8. For equal keys, 3-way quicksort is linear whereas basic quicksort (where
partitioning stops on equal keys) is quadratic.



9. Time to iterate over the keys in a BST using inorder traversal. - ANSWER
N


10.Traversal of a BST requires O(N) time, since it must visit every node.


11.Number of array access to insert a key into a BinarySearchST of size N. -
ANSWER N


12.When inserting a new key into BinarySearchST, each item with key larger
than new key will be shifted one position to the right. In the worst-case, the
new key must be placed in the first slot of the array, so it takes O(N)
operations.



13.push(): always grow array by 1 pop(): always shrink array by 1 - ANSWER
Quadratic



14.push(): double array if it is full pop(): never shrink array - ANSWER
Linear

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.
NURSINGDICTIONARY Chamberlain College Of Nursing
View profile
Follow You need to be logged in order to follow users or courses
Sold
238
Member since
2 year
Number of followers
87
Documents
2495
Last sold
2 days ago
NURSING ENCYCLOPEDIA

Our mission is to bring students and learners together and help you to get through your studies, courses and exams. Providing Well Revised Expert Information.

4.1

27 reviews

5
14
4
5
3
6
2
1
1
1

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 exams and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can immediately select a different document that better matches what you need.

Pay how you prefer, start learning right away

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

Student with book image

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

Alisha Student

Frequently asked questions