A) Stack B) Queue C) Hash table D) Heap
A) O(1) B) O(log n) C) O(n) D) O(n log n)
A) O(1) B) O(log n) C) O(n) D) O(n log n)
A) Array B) Linked list C) Queue D) Fibonacci heaps
A) O(n) B) O(1) C) O(n log n) D) O(log n)
A) It requires more complex metadata B) It stores duplicate data C) It uses more memory per node due to pointers D) It stores extra references to other nodes
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) Most recently added B) Lowest elements C) Oldest elements D) Highest elements
A) No, they are distinct B) Yes, they are the same in all contexts C) No, heaps are never used for priority queues D) Yes, they are identical
A) Monotonically increasing B) Constant C) Monotonically decreasing D) Undefined
A) Monotonically increasing B) Static C) Random D) Monotonically decreasing
A) The second is always ignored B) They are discarded C) The order is strictly descending D) Served in order of enqueuing |