Tutorials
Courses
Go Premium
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
32.1K+ articles
DSA
20.0K+ articles
Data Structures
150+ articles
Data Structures-Graph
24+ articles
Data Structures-Linked List
12+ articles
Data Structures-Tree Traversals
10+ articles
Data Structures-Stack
9+ articles
Data Structures-Hash
8+ articles
Data Structures-Binary Trees
7+ articles
Data Structures-Balanced Binary Search Trees
1+ articles
Data Structures-Queue
11 posts
Recent Articles
Popular Articles
Queue for Competitive Programming
Last Updated: 23 July 2025
In competitive programming, a queue is a data structure that is often used to solve problems that involve tasks that need to be completed in a specific order. This article...
read more
Competitive Programming
Data Structures-Queue
String Comparison and Manipulation Queries with Blocking and Swapping
Last Updated: 23 July 2025
Given Two strings S1 and S2 of equal length N, consisting of lowercase letters. There are also given integer T and Q queries. Each query can be one of three types, for que...
read more
Strings
Geeks Premier League
DSA
Data Structures-Queue
Geeks Premier League 2023
Voronoi Diagram
Last Updated: 16 February 2024
A Voronoi diagram known as a Voronoi tessellation or Voronoi partition is a geometric structure that divides a given space into the regions based on the distance to a set ...
read more
Graph
Geeks Premier League
DSA
Data Structures-Queue
QA - Placement Quizzes-Data Interpretation
B-Tree
Geeks Premier League 2023
Find Kth Largest/Smallest element in a Queue
Last Updated: 23 July 2025
Given a queue of integers and an integer K, our task is to write a program that efficiently finds Kth largest/smallest element present in the queue. Return -1 if the numbe...
read more
Queue
Picked
DSA
Data Structures-Queue
Set
Find Largest element in a Queue
Last Updated: 23 July 2025
Given a queue of integers, the task is to write a program that efficiently finds the largest element in that queue. Return -1 if the queue is empty.Examples:Input:Queue = ...
read more
Queue
Picked
DSA
Arrays
Data Structures-Queue
How to implement Queue data structure in the ReactJS ?
Last Updated: 23 July 2025
We'll explore the implementation of a basic queue data structure in a React application using the "rooks" library. Queues are fundamental in computer science and find appl...
read more
Web Technologies
ReactJS
Data Structures-Queue
React-Questions
Frequency in Queue
Last Updated: 23 July 2025
We need to implement findFrequncy(k) operation for a queue along with normal enqueue() operation. The findFrequency(k) function should return frequency of item k in queue....
read more
Queue
Blogathon
Blogathon-2021
DSA
Data Structures-Queue
Implement enqueue and dequeue using only two stacks in JavaScript ?
Last Updated: 13 January 2022
In this article, we will implement queue's operations (enqueue and dequeue) using only two stacks (in the form of plain arrays) in JavaScript. Before directly jumping into...
read more
JavaScript
Web Technologies
Picked
Data Structures-Queue
JavaScript-Methods
JavaScript-Questions
Difference Between Linear Queue and Circular Queue
Last Updated: 23 July 2025
Queues are fundamental data structures in computer science that follow the First-In-First-Out (FIFO) principle. Among the various types of queues, linear queues and circul...
read more
DSA
Data Structures-Queue
cpp-queue
Real-life Applications of Data Structures and Algorithms (DSA)
Last Updated: 28 July 2025
You may have heard that DSA is primarily used in the field of computer science. Although DSA is most commonly used in the computing field, its application is not restricte...
read more
DSA
Data Structures
Data Structures-Binary Trees
Data Structures-Tree Traversals
Data Structures-Linked List
Data Structures-Stack
Data Structures-Queue
Data Structures-Graph
Data Structures-Balanced Binary Search Trees
Data Structures-Hash
Data Structures-Array
Data Structures-Misc
Data Structures-B and B+ Trees
Data Structures-Heap
FIFO vs LIFO approach in Programming
Last Updated: 11 July 2025
FIFO is an abbreviation for first in, first out. It is a method for handling data structures where the first element is processed first and the newest element is processed...
read more
DSA
Data Structures-Stack
Data Structures-Queue
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !