摘要:
A parentheses string is valid if and only if: It is the empty string, It can be written as AB (A concatenated with B), where A and B are valid strings 阅读全文
posted @ 2020-12-18 08:39
CNoodle
阅读(122)
评论(0)
推荐(0)
摘要:
Given a parentheses string s containing only the characters '(' and ')'. A parentheses string is balanced if: Any left parenthesis '(' must have a cor 阅读全文
posted @ 2020-12-18 08:10
CNoodle
阅读(554)
评论(0)
推荐(0)