UNIT III-Double Ended Queue
UNIT III-Double Ended Queue
UNIT III-Double Ended Queue
QUEUES
• A queue is a data structure that models/enforces the first-
come first-serve order, or equivalently the first-in first-out
(FIFO) order.
Palindrome-checker
APPLICATIONS OF DEQUE
• When one of the processor completes execution of its own threads it can
steal a thread from another processor.
• It gets the last element from the deque of another processor and executes
it.
OTHER APPLICATIONS OF DEQUE