
栈
景行cmy
这个作者很懒,什么都没留下…
展开
-
leetcode 32. Longest Valid Parentheses
Given a string containing just the characters'('and')', find the length of the longest valid (well-formed) parentheses substring.Example 1:Input: "(()"Output: 2Explanation: The longest valid...原创 2019-07-19 21:21:35 · 111 阅读 · 0 评论 -
leetcode 726. Number of Atoms
Given a chemicalformula(given as a string), return the count of each atom.An atomic element always starts with an uppercase character, then zero or more lowercase letters, representing the name....原创 2019-08-08 16:04:13 · 179 阅读 · 0 评论