摘要:
import java.util.Stack; public class Solution { public boolean isValid(String s) { int size=s.length(); if(size==0) return true; boolean res=true; Sta... 阅读全文
摘要:
import java.util.ArrayList; import java.util.List; public class Solution { public List> combine(int n, int k) { List> res=new ArrayList>(); List temp=new ArrayList(); bfs... 阅读全文