Monotonic Queue DSA Problems

18 monotonic queue problems for coding interviews and campus placements, with hints and company tags. Below are all 18: 0 easy, 6 medium and 12 hard. Practise them free on InternHack and track what you have solved.

Monotonic Queue problems, easiest first

  1. Continuous Subarrays (Medium)
  2. Count Partitions With Max-Min Difference at Most K (Medium)
  3. Count Prime-Gap Balanced Subarrays (Medium)
  4. Jump Game VI (Medium)
  5. Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit (Medium)
  6. Maximum Sum Circular Subarray (Medium)
  7. Constrained Subsequence Sum (Hard)
  8. Count Non-Decreasing Subarrays After K Operations (Hard)
  9. Count Subarrays With Fixed Bounds (Hard)
  10. Delivering Boxes from Storage to Ports (Hard)
  11. Find Maximum Non-decreasing Array Length (Hard)
  12. K Empty Slots (Hard)
  13. Longest Increasing Subsequence II (Hard)
  14. Max Value of Equation (Hard)
  15. Maximum Number of Robots Within Budget (Hard)
  16. Maximum Number of Tasks You Can Assign (Hard)
  17. Shortest Subarray with Sum at Least K (Hard)
  18. Sliding Window Maximum (Hard)

Companies that ask monotonic queue problems

Before your interview

Most resumes are filtered by software before a recruiter reads them. Check your resume ATS score free, no signup needed.

Other DSA topics