Tutorials
Courses
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
35.5K+ articles
DSA
20.3K+ articles
Tree
1.3K+ articles
Data Structures
935+ articles
Graph
877+ articles
Linked List
826+ articles
Stack
378+ articles
Queue
333+ articles
Heap
240+ articles
Data Structures-Stack
9+ articles
Data Structures-Queue
11 posts
Recent Articles
Popular Articles
FIFO vs LIFO approach in Programming
Last Updated: 27 July 2022
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
Data Structures
DSA
Data Structures-Stack
Data Structures-Queue
Real-life Applications of Data Structures and Algorithms (DSA)
Last Updated: 31 July 2024
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
Linked List
Tree
Graph
Stack
Queue
Heap
Hash
Matrix
Data Structures
DSA
Arrays
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
Difference Between Linear Queue and Circular Queue
Last Updated: 27 May 2024
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
Misc
Queue
Data Structures
Difference Between
DSA
Data Structures-Queue
cpp-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
Frequency in Queue
Last Updated: 26 March 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
How to implement Queue data structure in the ReactJS ?
Last Updated: 30 November 2023
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
Find Largest element in a Queue
Last Updated: 04 August 2023
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
Find Kth Largest/Smallest element in a Queue
Last Updated: 20 July 2023
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
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
String Comparison and Manipulation Queries with Blocking and Swapping
Last Updated: 08 December 2023
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
Queue for Competitive Programming
Last Updated: 18 January 2024
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
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 !