> For the complete documentation index, see [llms.txt](https://protegejj.gitbook.io/algorithm-practice/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://protegejj.gitbook.io/algorithm-practice/leetcode/stack.md).

# Stack

- [20 Valid Parentheses](https://protegejj.gitbook.io/algorithm-practice/leetcode/stack/20-valid-parentheses.md)
- [71 Simplify Path](https://protegejj.gitbook.io/algorithm-practice/leetcode/stack/71-simplify-path.md)
- [84 Largest Rectangle in Histogram](https://protegejj.gitbook.io/algorithm-practice/leetcode/stack/84-largest-rectangle-in-histogram.md)
- [85 Maximal Rectangle](https://protegejj.gitbook.io/algorithm-practice/leetcode/stack/85-maximal-rectangle.md)
- [150    Evaluate Reverse Polish Notation](https://protegejj.gitbook.io/algorithm-practice/leetcode/stack/150-evaluate-reversepolish-notation.md)
- [155 Min Stack](https://protegejj.gitbook.io/algorithm-practice/leetcode/stack/155-min-stack.md)
- [173    Binary Search Tree Iterator](https://protegejj.gitbook.io/algorithm-practice/leetcode/stack/173-binary-search-tree-iterator.md)
- [224    Basic Calculator](https://protegejj.gitbook.io/algorithm-practice/leetcode/stack/224-basic-calculator.md)
- [225    Implement Stack using Queues](https://protegejj.gitbook.io/algorithm-practice/leetcode/stack/225-implement-stack-using-queues.md)
- [232    Implement Queue using Stacks](https://protegejj.gitbook.io/algorithm-practice/leetcode/stack/232-implement-queue-using-stacks.md)
- [255    Verify Preorder Sequence in Binary Search Tree](https://protegejj.gitbook.io/algorithm-practice/leetcode/stack/255-verify-preordersequence-in-binary-search-tree.md)
- [316    Remove Duplicate Letters](https://protegejj.gitbook.io/algorithm-practice/leetcode/stack/316-remove-duplicate-letters.md)
- [331    Verify Preorder Serialization of a Binary Tree](https://protegejj.gitbook.io/algorithm-practice/leetcode/stack/331-verify-preorderserialization-of-a-binary-tree.md)
- [341    Flatten Nested List Iterator](https://protegejj.gitbook.io/algorithm-practice/leetcode/stack/341-flatten-nested-list-iterator.md)
- [385    Mini Parser](https://protegejj.gitbook.io/algorithm-practice/leetcode/stack/385-mini-parser.md)
- [394 Decode String](https://protegejj.gitbook.io/algorithm-practice/leetcode/stack/394-decode-string.md)
- [402    Remove K Digits](https://protegejj.gitbook.io/algorithm-practice/leetcode/stack/402-remove-k-digits.md)
- [439 Ternary Expression Parser](https://protegejj.gitbook.io/algorithm-practice/leetcode/stack/439.md)
- [456    132 Pattern](https://protegejj.gitbook.io/algorithm-practice/leetcode/stack/456-132-pattern.md)
- [496    Next Greater Element I](https://protegejj.gitbook.io/algorithm-practice/leetcode/stack/496-next-greater-element-i.md)
- [503    Next Greater Element II](https://protegejj.gitbook.io/algorithm-practice/leetcode/stack/503-next-greater-element-ii.md)
- [581 Shortest Unsorted Continuous Subarray](https://protegejj.gitbook.io/algorithm-practice/leetcode/stack/581-shortest-unsorted-continuous-subarray.md)
- [591    Tag Validator](https://protegejj.gitbook.io/algorithm-practice/leetcode/stack/591-tag-validator.md)
- [636    Exclusive Time of Functions](https://protegejj.gitbook.io/algorithm-practice/leetcode/stack/636-exclusive-time-of-functions.md)
- [654 Maximum Binary Tree](https://protegejj.gitbook.io/algorithm-practice/leetcode/stack/654-maximum-binary-tree.md)
- [682    Baseball Game](https://protegejj.gitbook.io/algorithm-practice/leetcode/stack/682-baseball-game.md)
- [726    Number of Atoms](https://protegejj.gitbook.io/algorithm-practice/leetcode/stack/726-number-of-atoms.md)
- [735    Asteroid Collision](https://protegejj.gitbook.io/algorithm-practice/leetcode/stack/735-asteroid-collision.md)
- [739 Daily Temperatures](https://protegejj.gitbook.io/algorithm-practice/leetcode/stack/739-daily-temperatures.md)
- [770    Basic Calculator IV](https://protegejj.gitbook.io/algorithm-practice/leetcode/stack/770-basic-calculator-iv.md)
- [772    Basic Calculator III](https://protegejj.gitbook.io/algorithm-practice/leetcode/stack/772-basic-calculator-iii.md)
