Skip to content
Courses
DSA to Development
Get IBM Certification
Newly Launched!
Master Django Framework
Become AWS Certified
For Working Professionals
Interview 101: DSA & System Design
Data Science Training Program
JAVA Backend Development (Live)
DevOps Engineering (LIVE)
Data Structures & Algorithms in Python
For Students
Placement Preparation Course
Data Science (Live)
Data Structure & Algorithm-Self Paced (C++/JAVA)
Master Competitive Programming (Live)
Full Stack Development with React & Node JS (Live)
Full Stack Development
Data Science Program
All Courses
Tutorials
Data Structures & Algorithms
ML & Data Science
Interview Corner
Programming Languages
Web Development
CS Subjects
DevOps And Linux
School Learning
Practice
Build your AI Agent
GfG 160
Problem of the Day
Practice Coding Problems
GfG SDE Sheet
Contests
Accenture Hackathon (Ending Soon!)
GfG Weekly [Rated Contest]
Job-A-Thon Hiring Challenge
All Contests and Events
DSA
Practice Problems
Python
C
C++
Java
Courses
Machine Learning
DevOps
Web Development
System Design
Aptitude
Projects
Sign In
▲
Similar Topics
DSA
22.3k+ articles
Mathematical
7.7k+ articles
Arrays
6.4k+ articles
Searching
1.7k+ articles
Tree
1.4k+ articles
Data Structures
1.1k+ articles
Graph
940+ articles
Stack
420+ articles
BFS
210+ articles
tree-level-order
110+ articles
DSA
>
Data Structures
>
Queue
Queue
360+ posts
Popular Articles
Recent Articles
Queue Data Structure
Last Updated: 07 April 2025
A Queue Data Structure is a fundamental concept in computer science used for storing and managing data in a specific order. It follows the p
...read more
Queue
DSA
Data Structure Types, Classifications and Applications
Last Updated: 11 February 2025
A data structure is a storage that is used to store and organize data. It is a way of arranging data on a computer so that it can be accesse
...read more
Arrays
Strings
Linked List
Tree
Graph
Stack
Queue
Data Structures
DSA
DSA-Blogs
Introduction to Data Structures
Last Updated: 13 April 2025
What is Data Structure?A data structure is a particular way of organising data in a computer so that it can be used effectively. The idea is
...read more
Arrays
Linked List
Tree
Graph
Stack
Queue
Heap
Data Structures
DSA
Similar Topics
DSA
22.3k+ articles
Mathematical
7.7k+ articles
Arrays
6.4k+ articles
Searching
1.7k+ articles
Tree
1.4k+ articles
Data Structures
1.1k+ articles
Graph
940+ articles
Stack
420+ articles
BFS
210+ articles
tree-level-order
110+ articles
Difference Between Stack and Queue Data Structures
Last Updated: 23 May 2024
In computer science, data structures are fundamental concepts that are crucial for organizing and storing data efficiently. Among the variou
...read more
Stack
Queue
Data Structures
Difference Between
DSA
Array implementation of queue - Simple
Last Updated: 12 March 2025
Please note that a simple array implementation discussed here is not used in practice as it is not efficient. In practice, we either useLink
...read more
Queue
Technical Scripter
Technical Scripter 2018
DSA
Circular Array Implementation of Queue
Last Updated: 28 March 2025
A Circular Queue is a way of implementing a normal queue where the last element of the queue is connected to the first element of the queue
...read more
Queue
circular-array
DSA
What is Priority Queue | Introduction to Priority Queue
Last Updated: 12 March 2025
A priority queue is a type of queue that arranges elements based on their priority values. Each element has a priority associated. When we a
...read more
Queue
Data Structures
priority-queue
DSA
Queue - Linked List Implementation
Last Updated: 25 March 2025
In this article, the Linked List implementation of the queue data structure is discussed and implemented. Print '-1' if the queue is empty.A
...read more
Linked List
Amazon
Oracle
Qualcomm
Samsung
Queue
DSA
Introduction and Array Implementation of Queue
Last Updated: 05 March 2025
Similar to Stack, Queueis a linear data structure that follows a particular order in which the operations are performed for storing data. Th
...read more
Arrays
Goldman Sachs
Queue
DSA
Implement Stack using Queues
Last Updated: 25 March 2025
Implement a stack using queues. The stack should support the following operations:Push(x): Push an element onto the stack.Pop(): Pop the ele
...read more
Amazon
Adobe
Oracle
D-E-Shaw
Snapdeal
Accolite
CouponDunia
Kritikal Solutions
Grofers
Stack
Queue
DSA
LRU Cache - Complete Tutorial
Last Updated: 27 December 2024
What is LRU Cache? Cache replacement algorithms are efficiently designed to replace the cache when the space is full. The Least Recently
...read more
Amazon
Morgan Stanley
Snapdeal
MakeMyTrip
Queue
Advanced Data Structure
STL
Operating Systems
GATE CS
cpp-unordered_map
DSA
DSA Tutorials
Breadth First Search or BFS for a Graph
Last Updated: 21 April 2025
Given aundirected graphrepresented by an adjacency listadj, where eachadj[i]represents the list of vertices connected to vertexi. Perform aB
...read more
Graph
Queue
BFS
Data Structures
graph-basics
DSA
Sliding Window Maximum (Maximum of all subarrays of size K)
Last Updated: 25 February 2025
Given an arrayarr[]of integers and an integerk, your task is to find the maximum value for each contiguous subarray of sizek. The output sho
...read more
Arrays
Amazon
Flipkart
Directi
Zoho
SAP Labs
Queue
Heap
sliding-window
DSA
Queue using Stacks
Last Updated: 28 March 2025
Given a stack that supports push and pop operations, your task is to implement a queue using one or more instances of that stack along with
...read more
Microsoft
Amazon
Adobe
Morgan Stanley
Oracle
Flipkart
Goldman Sachs
D-E-Shaw
Walmart
Accolite
InMobi
MAQ Software
MakeMyTrip
InfoEdge
Stack
Queue
STL
DSA
Level Order Traversal (Breadth First Search or BFS) of Binary Tree
Last Updated: 25 March 2025
Given a Binary Tree, the task is to find its Level Order Traversal. Level Order Traversal technique is a method to traverse a Tree such that
...read more
Tree
Microsoft
Amazon
Morgan Stanley
Flipkart
Qualcomm
Samsung
D-E-Shaw
Cisco
Payu
Ola Cabs
Queue
tree-level-order
DSA
1
2
3
4
5
6
7
8
>>
Last
1
2
3
4
5
6
>>
Last
1
2
3
4
>>
Last
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 !