Question:

Which one of the fallowing statement is wrong for Queue and stack data structures ?

Updated On: Oct 18, 2024
  • Queue is an ordered linear data structure, following FIFO strategy
  • Insertion in a queue happens at the rear end, deletion happens at the front
  • Deque is a version of queue, which allows insertion and deletion at both ends
  • A deque supports only queue operations it does not support stack operations
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is D

Solution and Explanation

The correct option is (D) :A deque supports only queue operations it does not support stack operations
Was this answer helpful?
0
0