mirror of
https://github.com/youngyangyang04/leetcode-master.git
synced 2025-07-06 23:28:29 +08:00
修改0020.有效的括号.md的Java版本一处注释
This commit is contained in:
@ -166,7 +166,7 @@ class Solution {
|
||||
deque.pop();
|
||||
}
|
||||
}
|
||||
//最后判断栈中元素是否匹配
|
||||
//遍历结束,如果栈为空,则括号全部匹配
|
||||
return deque.isEmpty();
|
||||
}
|
||||
}
|
||||
@ -555,3 +555,4 @@ impl Solution {
|
||||
<a href="https://programmercarl.com/other/kstar.html" target="_blank">
|
||||
<img src="../pics/网站星球宣传海报.jpg" width="1000"/>
|
||||
</a>
|
||||
|
||||
|
Reference in New Issue
Block a user