Tag: queue
- Constrained Subsequence Sum
- Continuous Subarrays
- Count Non-Decreasing Subarrays After K Operations
- Count Subarrays With Fixed Bounds
- Delivering Boxes from Storage to Ports
- Design an Array Statistics Tracker
- Design Circular Deque
- Design Circular Queue
- Design Front Middle Back Queue
- Design Hit Counter
- Design Phone Directory
- Design Snake Game
- Dota2 Senate
- Find Consecutive Integers from a Data Stream
- Find Maximum Non-decreasing Array Length
- Find the Winner of the Circular Game
- Finding MK Average
- First Unique Character in a String
- First Unique Number
- Flatten Nested List Iterator
- Implement Queue using Stacks
- Implement Stack using Queues
- Jump Game VI
- K Empty Slots
- Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit
- Longest Increasing Subsequence II
- Max Value of Equation
- Maximize the Minimum Powered City
- Maximum Number of Robots Within Budget
- Maximum Number of Tasks You Can Assign
- Maximum Sum Circular Subarray
- Minimum Number of Coins for Fruits II
- Minimum Number of Coins for Fruits
- Minimum Number of K Consecutive Bit Flips
- Minimum Operations to Make Binary Array Elements Equal to One I
- Minimum Sum of Values by Dividing Array
- Moving Average from Data Stream
- Number of People Aware of a Secret
- Number of Recent Calls
- Number of Students Unable to Eat Lunch
- Reveal Cards In Increasing Order
- Shortest Subarray with Sum at Least K
- Sliding Window Maximum
- Stamping The Sequence
- Time Needed to Buy Tickets
- Time Taken to Cross the Door
- Zigzag Iterator