Introduction To Data Structures - Study Mode

[#131] Which of the following is not an application of priority queue?
Correct Answer

(C) Undo operation in text editors

[#132] What is not a disadvantage of priority scheduling in operating systems?
Correct Answer

(C) Interrupt handling

[#133] What is a dequeue?
Correct Answer

(A) A queue with insert/delete defined for both front and rear ends of the queue

[#134] Which of the following data structures is used in implementing LRU cache?
Correct Answer

(B) Linked List

[#135] What is the time complexity of inserting an element at the end of an array?
Correct Answer

(A) O(1)