LeetCode20 - isValid

2018-05-17  本文已影响0人  thousand_

题目来源:

https://leetcode-cn.com/problems/valid-parentheses/description/

题目:

分析:利用dict和栈来判断了括号对的匹配是否正确

代码:

上一篇 下一篇

猜你喜欢

热点阅读