Introduction To Data Structures - Study Mode
[#56] Which of the following is not an inherent application of stack?
Correct Answer
(D) Job scheduling
[#57] Which of the following real world scenarios would you associate with a stack data structure?
Correct Answer
(A) piling up of chairs one above the other
[#58] In linked list implementation of a queue, the important condition for a queue to be empty is?
Correct Answer
(A) FRONT is null
[#59] What is the time complexity to insert a node based on key in a priority queue?
Correct Answer
(C) O(n)
[#60] What happens when you pop from an empty stack while implementing using the Stack ADT in Java?
Correct Answer
(C) EmptyStackException is thrown