Time left:

[All Quizzes] → [Introduction to Algorithms] → [Sorting and Searching]


1. ► Merge sort is not a stable sort

A.
B.

2. ► Heap sort can be parallelized

A.
B.

3. ► For faster and frequent searches, sorted sequences are better to work on

A.
B.

4. ► Heap sort doesn’t have an implementation in STL

A.
B.

5. ► Binary search only operates on sorted sequence

A.
B.

6. ► A simple depth-first walk is enough to give topological ordering

A.
B.

7. ► In unsorted sequence, key and data cannot stay together

A.
B.

8. ► Merge sort works on the principle of divide-and-conquer

A.
B.

9. ► Binary is not a divide and conquer algorithm

A.
B.

10. ► Quick sort can be done in-place

A.
B.

11. ► Heap sort guarantees O(nlgn) performance

A.
B.

12. ► Binary search performs in linear time

A.
B.

13. ► Stable sorting always preserves the order

A.
B.

14. ► Topological sort is available in STL

A.
B.

15. ► Topological sort requires O(V) space

A.
B.

16. ► Merge sort’s O(nlgn) performance is not guaranteed

A.
B.

17. ► Heap sort makes use of heap data structure

A.
B.

18. ► Heap sort cannot be done in-place

A.
B.

19. ► STL doesn’t have an implementation of quick sort

A.
B.

20. ► Binary search on AVL trees can be done at most in O(lgn) steps

A.
B.


© 2016 VirtuQ™ Education All right reserved. | Terms of Use | Privacy Policy