Introduction to Queue

Medium
14 views 22 Dec 2025
Explain what a queue data structure is and how it follows the FIFO principle....

Types of Queues

Medium
13 views 22 Dec 2025
Explain different types of queues such as simple queue, circular queue, priority queue, and deque....

Queue Implementation Using Array

Medium
12 views 22 Dec 2025
Implement a queue using an array and explain enqueue and dequeue operations....

Queue Implementation Using Linked List

Medium
14 views 22 Dec 2025
Implement a queue using linked list and explain how pointers are managed....

Circular Queue

Medium
13 views 22 Dec 2025
Explain circular queue and how it overcomes limitations of simple queue....

Enqueue Operation

Medium
14 views 22 Dec 2025
Explain enqueue operation in a queue with step-by-step process....

Dequeue Operation

Medium
12 views 22 Dec 2025
Explain dequeue operation in a queue and how underflow is handled....

Front and Rear Pointers

Medium
14 views 22 Dec 2025
Explain the role of front and rear pointers in queue operations....

Queue Overflow and Underflow

Medium
15 views 22 Dec 2025
Explain queue overflow and underflow conditions with examples....

Priority Queue

Medium
12 views 22 Dec 2025
Explain priority queue and its real-world applications....

Deque (Double Ended Queue)

Medium
12 views 22 Dec 2025
Explain deque and its operations at both ends....

Implement Stack Using Queue

Medium
13 views 22 Dec 2025
Implement a stack using queue and explain the logic....

Implement Queue Using Stack

Medium
15 views 22 Dec 2025
Implement a queue using stack and explain the approach....

Reverse Queue

Medium
15 views 22 Dec 2025
Reverse the elements of a queue using recursion or stack....

Queue Using Circular Array

Medium
13 views 22 Dec 2025
Design a queue using circular array with proper conditions....

First Non-Repeating Character in Stream

Medium
13 views 22 Dec 2025
Find the first non-repeating character in a stream of characters using queue....

Sliding Window Maximum

Medium
11 views 22 Dec 2025
Find the maximum element in every sliding window using deque....

Interleave First and Second Half

Medium
12 views 22 Dec 2025
Interleave the first half and second half of a queue....

Generate Binary Numbers

Medium
12 views 22 Dec 2025
Generate binary numbers from 1 to N using queue....

LRU Cache Using Queue Concept

Medium
15 views 22 Dec 2025
Explain how queue concept is used in LRU cache design....