A) Hash table B) Heap C) Queue D) Stack
A) O(log n) B) O(1) C) O(n log n) D) O(n)
A) O(log n) B) O(1) C) O(n log n) D) O(n)
A) Fibonacci heaps B) Queue C) Linked list D) Array
A) O(n) B) O(1) C) O(n log n) D) O(log n)
A) It stores extra references to other nodes B) It requires more complex metadata C) It uses more memory per node due to pointers D) It stores duplicate data
A) Sorting algorithms B) Searching algorithms C) Compression algorithms D) Graph traversals
A) Data type size B) Associated priority C) Memory address D) Insertion time
A) Randomly B) Highest priority first C) First in first out D) Last in first out
A) Lowest elements B) Most recently added C) Oldest elements D) Highest elements
A) No, heaps are never used for priority queues B) No, they are distinct C) Yes, they are identical D) Yes, they are the same in all contexts
A) Undefined B) Constant C) Monotonically decreasing D) Monotonically increasing
A) Static B) Random C) Monotonically decreasing D) Monotonically increasing
A) The second is always ignored B) Served in order of enqueuing C) The order is strictly descending D) They are discarded |