leetcode-day3
2019-01-17 本文已影响0人
爆炸的热水袋
Valid Parentheses
Boundary Condition:
consider just having left parenthese and right parenthese.
- Just having left parenthese: vector is not vacant at last.
- Just having right parenthese: vector is vacant when check for match.