Stack
LIFO
1 DFS
https://oj.leetcode.com/tag/stack/
H15:https://oj.leetcode.com/problems/valid-parentheses/
H16:https://oj.leetcode.com/problems/simplify-path/
H16:https://oj.leetcode.com/problems/simplify-path/
J19: https://leetcode.com/problems/min-stack/
https://leetcode.com/problems/evaluate-reverse-polish-notation/
Queue
FIFO
1 层序遍历 BFS
2 Sliding Window
https://leetcode.com/tag/queue/
组合数据结构
J20: https://leetcode.com/problems/lru-cache/
实现一个插入,删除,随机都是O(1)复杂度的Set
Quadtree to compress image