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