It looks like arraylist is not doing its job for presizing:
// presizing
ArrayList<Integer>() list = new ArrayList<Integer>(60);
Afterwards when I try to access it:
list.get(5)
It shows null instead of 0. Is there a way to initialize all elements to 0 of an exact size like what C++ does?