标签:
----------------------------------------------------------------------------
Mean:
给定一个括号序列,检查括号是否按顺序匹配.
analyse:
栈结构的基本运用.
Time complexity: O(N)
view code
LeetCode - 20. Valid Parentheses
标签:
原文地址:http://www.cnblogs.com/crazyacking/p/5195876.html