• Home
  • Learn
  • Feed
  • Ladder
  • Saved
← Roadmapsall stacks & queues problems
🥞

Stacks & Queues

Validity, monotonic stacks, expression eval, design.

5 stops · 83 problems0/49 on the path done
next ▸ Crawler Log Folder DepthSilver · 1100
1

Matching & validity

0/7you are here

Valid parens, min add, make valid, backspace.

○Crawler Log Folder Depth○Remove Adjacent Duplicates○Backspace String Compare○Build Array With Stack Ops○Apply Text Backspaces○Minimum Add to Make Valid○Minimum Remove To Make Valid
2

Monotonic stack

0/12

Next greater, daily temperatures, span, histogram.

○Next Greater Element I○Daily Temperatures○Next Greater Element II○Next Greater Element○Final Prices With a Special Discount○Next Greater Element (Circular)○Online Stock Span○Previous Smaller Element○Next Greater Element II (Circular)○Stock Span○Largest Rectangle in Histogram○Maximal Rectangle
3

Expression & paths

0/10

RPN, calculator, decode, simplify path.

○Evaluate Reverse Polish Notation○Evaluate Postfix○Score of Parentheses○Decode String○Asteroid Collision○Basic Calculator II○Remove K Digits○Exclusive Time of Functions○Asteroid Survivors○Basic Calculator
4

Baseball & misc

0/4

Baseball game, validate sequences, car fleet.

○Baseball Game○Baseball Game Score○Validate Stack Sequences○Car Fleet
5

More Stacks & Queues

0/16 of 50

Everything else in this category — keep climbing.

○Reverse String via Stack○Number Of Recent Calls○Number of Visible People to the Right○Longest Well-Performing Interval○First Negative In Every Window○Simplify Unix Path○Bracket Balance Check○Decode Run Length○People Who See The Stage○Deepest Bracket Nesting○Queue Using Two Stacks○Collapse Equal Pairs○Reverse First K In Queue○Balance The Brackets○Scoreboard Operations○Min Stack Operations+34 in the arena
🏁Finish line