1. 用栈实现队列#
难度: 🟢 简单
算法链接: https://leetcode.cn/problems/implement-queue-using-stacks/
题解: https://programmercarl.com/0232.%E7%94%A8%E6%A0%88%E5%AE%9E%E7%8E%B0%E9%98%9F%E5%88%97.html
2. 用队列实现栈#
难度: 🟢 简单
算法链接: https://leetcode.cn/problems/implement-stack-using-queues/
题解: https://programmercarl.com/0225.%E7%94%A8%E9%98%9F%E5%88%97%E5%AE%9E%E7%8E%B0%E6%A0%88.html
3. 有效的括号#
难度: 🟢 简单
算法链接: https://leetcode.cn/problems/valid-parentheses/
题解: https://programmercarl.com/0020.%E6%9C%89%E6%95%88%E7%9A%84%E6%8B%AC%E5%8F%B7.html
4. 删除字符串中的所有相邻重复项#
难度: 🟢 简单
算法链接: https://leetcode.cn/problems/remove-all-adjacent-duplicates-in-string/
5. 逆波兰表达式求值#
难度: 🟡 中等
算法链接: https://leetcode.cn/problems/evaluate-reverse-polish-notation/
6. 滑动窗口最大值#
难度: 🔴 困难
算法链接: https://leetcode.cn/problems/sliding-window-maximum/
题解: https://programmercarl.com/0239.%E6%BB%91%E5%8A%A8%E7%AA%97%E5%8F%A3%E6%9C%80%E5%A4%A7%E5%80%BC.html
7. 前 K 个高频元素#
难度: 🟡 中等
算法链接: https://leetcode.cn/problems/top-k-frequent-elements/
题解: https://programmercarl.com/0347.%E5%89%8DK%E4%B8%AA%E9%AB%98%E9%A2%91%E5%85%83%E7%B4%A0.html