AniketTheProgrammer
Home
(current)
Courses
Projects
YT Projects
Coding Questions
Notification
Contact Us
Log In
All Topics
C Language
C++ Language
Greedy Algorithm
Hashing
Java Language
Linked List
Python
Queue
Stack
String
Sorting
Searching
Recursion
Backtracking
Dynamic Programming
Graph Theory
Bit Manipulation
Mathematics
Sliding Window Technique
Divide And Conquer
Matrix Manipulation
Two Pointers
Binary Tree
Topic: Queue-question / Level: Intermediate
201. Implement a priority queue using a binary heap.
202. Write a program to sort a queue using a stack.
203. Write a function to check if a given sequence can represent the enqueue and dequeue operations of a queue.
204. Write a program to implement a double-ended queue (deque) using a linked list.
205. Write a program to generate all binary numbers from 1 to n using a queue.
206. Write a program to implement a queue that supports both enqueue and dequeue operations in constant time.
207. Write a program to rotate a queue to the left by k elements.
208. Write a program to find the largest element in a queue without using extra space.
209. Write a program to interleave two queues.
210. Implement a circular queue with operations to enqueue and dequeue.
211. Write a program to merge two sorted queues.
212. Write a program to reverse a queue using recursion.
213. Write a program to check if two queues are equal.
214. Write a program to find the middle element of a queue.
215. Write a program to delete all occurrences of a specific element from a queue.
216. Write a program to implement a queue using two stacks.
217. Write a program to print all elements of a queue in reverse order using recursion.
218. Write a function to find the second largest element in a queue.
219. Write a program to find the sum of all elements in a queue.
220. Write a program to find the frequency of elements in a queue.
221. Write a program to find the maximum value in a sliding window using a queue.
222. Write a program to implement a queue that maintains the maximum element.
223. Write a program to implement a queue with a fixed-size array.
224. Write a program to implement a queue using a singly linked list.
225. Write a program to implement a queue using a doubly linked list.
226. Write a program to implement a queue with dynamic resizing.
227. Write a program to print the first non-repeating character from a stream using a queue.
228. Write a program to merge k sorted queues.
229. Write a program to find the longest consecutive sequence in a queue.
230. Write a program to check if a queue contains a palindrome.
Previous
1
2
3
4
5
6
7
Next
More Levels
Beginner
Advanced
Most Visited
Implement a queue that can categorize its elements based on user-defined tags.
Implement a queue that can support custom processing logic.
Implement a queue that can manage multi-tenant applications.
Create a program to simulate a call center queue.
Create a program to implement a queue that can provide access logs.
Create a program to sort a queue using another queue.
Write a program to find the maximum value in a sliding window using a queue.
Write a program to implement a deque (double-ended queue).
Create a program to find all anagrams of a word using a queue.
Implement a queue that can aggregate data from multiple sources.
Implement a queue that can detect cycles in a stream of data.
Implement a queue that can support transactions and rollback operations.
Create a program to implement a queue that can manage data synchronization.
Implement a queue that can monitor data quality.
Implement a queue using a linked list.