Guide contents

Stack

Last-in, first-out problems: matching pairs, monotonic stacks, and expression evaluation.

15 lessons

  1. 45.20. Valid Parentheses
  2. 46.155. Min Stack
  3. 47.150. Evaluate Reverse Polish Notation
  4. 48.22. Generate Parentheses
  5. 49.739. Daily Temperatures
  6. 50.853. Car Fleet
  7. 51.84. Largest Rectangle in Histogram
  8. 52.682. Baseball Game
  9. 53.225. Implement Stack using Queues
  10. 54.232. Implement Queue using Stacks
  11. 55.735. Asteroid Collision
  12. 56.901. Online Stock Span
  13. 57.71. Simplify Path
  14. 58.394. Decode String
  15. 59.895. Maximum Frequency Stack