public void dfs(ArrayList<Integer>[] graph,int curr,int par,int[] dt, int[] low, int time,boolean[] vis,List<List<Integer>> ans){ ...