Skip to content
Avio Lines
D10

Stack

37 stations · 17h

Monotonic stacks, expression parsing and next-greater problems. 3 concept lectures and 34 interview problems explained by codestorywithMIK (17h of video), grouped into 5 patterns such as Monotonic Stack, Parentheses & Matching, Expression Evaluation.

Start this line →
problems by zone (pattern)
  • Monotonic Stack8
  • Parentheses & Matching9
  • Expression Evaluation4
  • Stack Design1
  • Stack Simulation14

All 37 stations in order

  1. 1.Introduction to Monotonic Data Structures
  2. 2.What are Monotonic Data Structures
  3. 3.Monotonic Queue
  4. 4.Online Stock Span (Microsoft, Amazon, FactSet, Samsung, Adobe, Flipkart) : Explanation ➕ Live Coding (LeetCode 901)
  5. 5.Remove All Adjacent Duplicates In String (Microsoft, Paytm, Samsung) : Explanation ➕ Live Coding (LeetCode 1047)
  6. 6.Basic Calculator (Google, Meta, Airbnb) : Explanation ➕ Live Coding 🧑🏻‍💻👩🏻‍💻 (LeetCode 224)
  7. 7.Sum of Subarray Minimums (LeetCode 907)
  8. 8.Implement Queue using Stacks (LeetCode 232)
  9. 9.Evaluate Reverse Polish Notation (LeetCode 150)
  10. 10.Daily Temperatures (LeetCode 739)
  11. 11.Valid Parentheses (LeetCode 20)
  12. 12.Removing Stars From a String (LeetCode 2390)
  13. 13.Simplify Path (LeetCode 71)
  14. 14.Validate Stack Sequences (LeetCode 946)
  15. 15.Asteroid Collision (LeetCode 735)
  16. 16.132 Pattern (LeetCode 456)
  17. 17.Build an Array With Stack Operations (LeetCode 1441)
  18. 18.Minimum Remove to Make Valid Parentheses (LeetCode 1249)
  19. 19.Remove K Digits (LeetCode 402)
  20. 20.Maximal Rectangle (LeetCode 85)
  21. 21.Reverse Substrings Between Each Pair of Parentheses (LeetCode 1190)
  22. 22.Maximum Score From Removing Substrings (LeetCode 1717)
  23. 23.Robot Collisions (LeetCode 2751)
  24. 24.Number of Atoms (LeetCode 726)
  25. 25.Minimum Deletions to Make String Balanced (LeetCode 1653)
  26. 26.Minimum Number of Swaps to Make the String Balanced (LeetCode 1963)
  27. 27.Minimum Add to Make Parentheses Valid (LeetCode 921)
  28. 28.Parsing A Boolean Expression (LeetCode 1106)
  29. 29.Check if a Parentheses String Can Be Valid (LeetCode 2116)
  30. 30.Remove All Occurrences of a Substring (LeetCode 1910)
  31. 31.Replace Non-Coprime Numbers in Array (LeetCode 2197)
  32. 32.Minimum Operations to Convert All Elements to Zero (LeetCode 3542)
  33. 33.Score of Parentheses (LeetCode 856)
  34. 34.Maximum Nesting Depth of the Parentheses (LeetCode 1614)
  35. 35.Crawler Log Folder (LeetCode 1598)
  36. 36.Final Prices With a Special Discount in a Shop (LeetCode 1475)
  37. 37.Clear Digits (LeetCode 3174)