921. 使括號有效的最少添加

class Solution { public int minAddToMakeValid(String S) { if(S.length()==0) return 0; if(S.length()==1) return 1; List<Character> list=new ArrayList
相關文章
相關標籤/搜索