Courses
Tutorials
Practice
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
37.4K+ articles
Misc
8.8K+ articles
Mathematical
7.8K+ articles
Arrays
6.5K+ articles
Competitive Programming
3.3K+ articles
Strings
3.3K+ articles
Greedy
2.1K+ articles
Algorithms
2.0K+ articles
Sorting
1.8K+ articles
Searching
1.7K+ articles
DSA
/
Data Structures
/
Queue
Queue
371+ posts
Recent Articles
Popular Articles
Fill and Empty a Queue
Last Updated: 04 April 2025
Given an empty queue and an array of elements, we need to perform the following two operations.1. Filling a QueueFilling a queue refers to the process of adding array elem...
read more
Queue
Data Structures
DSA
Top Problems on Deque Data Structure asked in SDE Interviews
Last Updated: 16 March 2025
A Deque (Double-Ended Queue) is a flexible data structure that supports insertion and deletion from both ends in O(1) time. In SDE interviews, deques are frequently tested...
read more
Queue
DSA
Most Commonly Asked Data Structure Interview Questions on Queue
Last Updated: 04 March 2025
A Queue is a linear data structure that follows the First-In-First-Out (FIFO) principle. It is one of the most important and widely used data structures in computer scienc...
read more
Queue
DSA
Queue Implementation in Python
Last Updated: 14 February 2025
Queue is a linear data structure that stores items in a First In First Out (FIFO) manner. With a queue, the least recently added item is removed first. One can imagine a q...
read more
Queue
Python
Python-DSA
DSA
Enqueue in Queues in Python
Last Updated: 16 April 2024
A queue is a basic data structurethat follows the First-In-First-Out (FIFO) principle. At the back of the queue, elements are added (enqueued), and at the front, they are ...
read more
Queue
Python
Python Programs
Picked
Python-DSA
CSES Solutions - Josephus Problem I
Last Updated: 01 April 2024
Consider a game where there are N children (numbered 1,2 ... N) in a circle. During the game, every other child is removed from the circle until there are no children left...
read more
Queue
Competitive Programming
Picked
DSA
CSES Problems
How to Iterate over a Queue in Java?
Last Updated: 25 January 2024
Queue is a concept of Linear Data Structure that follows the concept of FIFO(First In First Out). Queues are majorly used to maintain the order of the elements to which th...
read more
Java
Queue
Java-Collections
Java Programs
java-queue
Picked
Java-Queue-Programs
Java Examples
Queue Data Structure
Last Updated: 17 May 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 principle of "First in, First ou...
read more
Queue
DSA
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
Queue
Competitive Programming
Data Structures-Queue
DSA
Queue Notes for GATE Exam [2024]
Last Updated: 24 April 2025
A Queue is defined as a linear data structure that is open at both ends and the operations are performed in First In First Out (FIFO) order. Queue is a list in which all a...
read more
Queue
DSA
GATE 2024
GATE-CS 2024
DSA-GATE
FIFO Principle of Queue
Last Updated: 28 November 2023
FIFO stands for "First In, First Out". This principle dictates that the first element added to the queue is the first one to be removed. Understanding the FIFO principle i...
read more
Queue
Picked
DSA
Circular Subsequence Shift with Deque
Last Updated: 17 November 2023
Given a string S of lowercase English letters, each character is linked to one of T's unique identifiers. Specifically, character positions are associated with identifiers...
read more
Queue
Competitive Programming
subsequence
cpp-string
deque
DSA
top-dsa-problems
Find the character which remains in the end
Last Updated: 05 October 2023
Given a string S containing only characters 'A' and 'B'. In one operation, one character can able to eliminate the other character which is at any position. This procedure...
read more
Strings
Queue
DSA
Last when k numbers are Repeatedly Removed from both ends
Last Updated: 27 March 2025
There are n people from 1 to n are standing in the queue at a movie ticket counter. It is a weird ticket counter, as it distributes tickets to the first k people and then ...
read more
Queue
Mathematical
Data Structures
two-pointer-algorithm
DSA
What is Queue Data Structure?
Last Updated: 07 July 2023
What is Queue Data Structure?AQueueis defined as a linear data structure that is open at both ends and the operations are performed in First In First Out (FIFO) order.We d...
read more
Queue
Picked
DSA
1
2
3
4
...
25
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 !