Queue Practice Problems
Basic Queue Problems:​
Circular Queue Problems:​
Priority Queue Problems:​
- K Closest Points to Origin
- Top K Frequent Elements
- Path with Maximum Probability
- Merge k Sorted Lists
- Find Median from Data Stream
Deque (Double-Ended Queue) Problems:​
- Deque Implementations
- Palindrome Check Using Deque
- Shortest Subarray with Sum at Least K
- Design Front Middle Back Queue
- First negative in every window of size k
- Sliding Window Maximum
Easy​
- Stack using two queues
- Queue using stack
- Reverse First K elements of Queue
- Generate Binary Numbers
- Minimum Cost of ropes
Medium​
- IPL 2021 - Match Day 2
- First negative in every window of size k
- Print Binary Tree levels in sorted order
- Restricted Pacman
- Count the Reversals