Time left:

[All Quizzes] → [Practical Data Structures] → [Hash Map and Heap]


1. ► Hash map guarantees constant time value access

A.
B.

2. ► In a min-heap, value at a node is always less than that of its children

A.
B.

3. ► A good hash function will be collision free

A.
B.

4. ► A pointer map ordering varies from one run to another

A.
B.

5. ► Quick sort always performs better than heapsort

A.
B.

6. ► Heapsort relies on heap to pick the minimum or maximum element

A.
B.

7. ► Merging two heaps is a O(lg(n)) operation

A.
B.

8. ► Elements in hash_map are ordered

A.
B.

9. ► STL map provides access in lg(n) time

A.
B.

10. ► Heapify operation just takes O(lg(n)) steps

A.
B.

11. ► hash_map is also part of the standard C++

A.
B.

12. ► STL map is unordered

A.
B.


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