Skip to content

Category Archives: Queue

Priority Queue: A priority queue is a special type of queue in which each element is assigned a priority value. And elements are served based… Read More
What is Queue? Queue is a linear data structure that follows FIFO approach (First In First Out). One can imagine a queue as a line… Read More
ArrayDeque in Java The ArrayDeque in Java provides a way to apply resizable-array in addition to the implementation of the Deque interface. It is also… Read More
What is an in-memory Queue? An in-memory queue is a queue that stores data in memory. In-memory queues are used to improve application performance by… Read More
Queue: The queue is an abstract data type or linear data structure from which elements can be inserted at the rear(back) of the queue and… Read More
What is Queue? A queue is a linear data structure that is open at both ends and the operations are performed in First In First… Read More
A queue is a linear structure that follows a particular order in which the operations are performed. The order is First In First Out (FIFO). … Read More
A Data Structure organizes and stores data in a computer so that we can perform operations on the data more efficiently. There are many diverse… Read More
What is Data Structure: A data structure is a storage that is used to store and organize data. It is a way of arranging data… Read More
Deque is a type of queue in which insert and deletion can be performed from either front or rear. It does not follow the FIFO… Read More
Circular Queue is a linear data structure that follows FIFO (first in first out) principle which means the item that is inserted first in the… Read More
A Queue is a linear data structure. This data structure follows a particular order in which the operations are performed. The order is First In… Read More
Geek is in a maze of size N * M. Each cell in the maze is made of either ‘.’ or ‘#’. An empty cell… Read More
Given a stack of M elements and a queue of N elements in sorted order. The task is to find out the common elements of… Read More
Given a connected acyclic graph with N nodes numbered from 1 to N and N-1 edges, find out the pair of nodes that are at… Read More

Start Your Coding Journey Now!