Miscellany
public text v1 · immutableArrayList < ArrayList <Integer> > arr = new ArrayList();
for(int i = 0; i < no; i++)
arr.add(new ArrayList <Integer>());ArrayList < ArrayList <Integer> > arr = new ArrayList();
for(int i = 0; i < no; i++)
arr.add(new ArrayList <Integer>());