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

# Stack

- [1130.Minimum-Cost-Tree-From-Leaf-Values](https://wentao-shao.gitbook.io/leetcode/stack/1130.minimum-cost-tree-from-leaf-values.md)
- [1249.Minimum-Remove-to-Make-Valid-Parentheses](https://wentao-shao.gitbook.io/leetcode/stack/1249.minimum-remove-to-make-valid-parentheses.md)
- [379.Design-Phone-Directory](https://wentao-shao.gitbook.io/leetcode/stack/379.design-phone-directory.md)
- [394.Decode-String](https://wentao-shao.gitbook.io/leetcode/stack/394.decode-string.md)
- [402.Remove-K-Digits](https://wentao-shao.gitbook.io/leetcode/stack/402.remove-k-digits.md)
- [456.132-Pattern](https://wentao-shao.gitbook.io/leetcode/stack/456.132-pattern.md)
- [496.Next-Greater-Element-I](https://wentao-shao.gitbook.io/leetcode/stack/496.next-greater-element-i.md)
- [503.Next-Greater-Element-II](https://wentao-shao.gitbook.io/leetcode/stack/503.next-greater-element-ii.md)
- [636.Exclusive-Time-of-Functions](https://wentao-shao.gitbook.io/leetcode/stack/636.exclusive-time-of-functions.md)
- [71.Simplify-Path](https://wentao-shao.gitbook.io/leetcode/stack/71.simplify-path.md)
- [739.Daily-Temperatures](https://wentao-shao.gitbook.io/leetcode/stack/739.daily-temperatures.md)
- [844.Backspace-String-Compare](https://wentao-shao.gitbook.io/leetcode/stack/844.backspace-string-compare.md)
- [917.Reverse-Only-Letters](https://wentao-shao.gitbook.io/leetcode/stack/917.reverse-only-letters.md)
- [946.Validate-Stack-Sequences](https://wentao-shao.gitbook.io/leetcode/stack/946.validate-stack-sequences.md)
