UGC NET Dec-2020 and June-2021 Paper-2
December 3, 2023UGC NET Dec-2020 and June-2021 Paper-2
December 3, 2023Question 965 – Nielit Scientist-B IT 4-12-2016
A__ is a linear list in which insertions and deletions are made to from either end of the structure.
Correct Answer: D
Question 15 Explanation:
● A deque, also known as a double ended queue, is an ordered collection of items similar to the queue. It has two ends, a front and a rear, and the items remain positioned in the collection.
● What makes a deque different is the unrestrictive nature of adding and removing items.New items can be added at either the front or the rear.
● Likewise, existing items can be removed from either end. In a sense, this hybrid linear structure provides all the capabilities of stacks and queues in a single data structure.
● What makes a deque different is the unrestrictive nature of adding and removing items.New items can be added at either the front or the rear.
● Likewise, existing items can be removed from either end. In a sense, this hybrid linear structure provides all the capabilities of stacks and queues in a single data structure.
Circular queue
Priority queue
Stack
Dequeue