@@ -0,0 +1,630 @@
+public class Solution %7B%0A    public boolean isValid(String s) %7B%0A    %09if(s == null)%09return false;%0A        Stack%3CCharacter%3E stk = new Stack%3CCharacter%3E();%0A        Map%3CCharacter, Character%3E map = new HashMap%3CCharacter, Character%3E();%0A        map.put('(', ')');%0A        map.put('%5B', '%5D');%0A        map.put('%7B', '%7D');%0A        for(int i = 0; i %3C s.length(); i++) %7B%0A      %09    char c = s.charAt(i);%0A      %09    if(map.containsKey(c)) stk.push(c);%0A      %09    else if(!stk.isEmpty() && c == map.get(stk.pop())) ;%0A      %09    else return false;%0A        %7D%0A        if(stk.isEmpty())   return true;%0A        else                return false;%0A    %7D%0A%7D%0A

Create 020.java