import java.util.*; public class Solution { /** * * @param s string字符串 * @return bool布尔型 (,),{,},[,] */ public boolean isValid (String s) { // write code here Stack<Character> stack=new Stack<>(); cha...