bars
🌃
Limited Algorithm
search
circle-xmark
⌘
Ctrl
k
copy
Copy
chevron-down
Array& LinkedList & String
chevron-right
Practice 2 LinkedList & String
Question 11 Valid Paretheses II
计算还没有闭合的括号一共有多少个?
每次遇到*,max++;min = Math.max(0, min -1);
出现false就是max小的
Previous
Question 10 Valid Paretheses
chevron-left
Next
Practice 3 LinkedList & Array
chevron-right
Last updated
2 years ago