jianglilili / jianglilili/leetcode-
Valid Parentheses(有效的括号)
Open
- Dominant language
- No language data
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
[有效的括号](https://leetcode-cn.com/problems/valid-parentheses/)
```
//time:2019/12/16
class Solution {
private Map map;
public Solution()
{
this.map=new HashMap();
this.map.put(')','(');
this.map.put('}','{');
this.map.put(']','[');
}
public boolean isValid(String s) {
// Map map=new HashMap();
// map.put(')','(');
// map.put('}','{');
// map.put(']','[');
Stack stack=new Stack();
for(int i=0;i
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.