LeetCode上的相关题目(easy)
155, 225, 232, 346
常用方法
- Stack: push(), pop(), peak(), empty()
- Queue(LinkedList): add(), element(), peak(), poll()
This site Original article All followed" Attribution—NonCommercial—ShareAlike 4.0 (CC BY-NC-SA 4.0) ”。 Please keep the following marks for sharing and interpretation:
Original author: Jake Tao Source: 「Queue & Stack解题方法小结」
Post a reply