Actualités

Shows how quickly you can add random number to ArrayList and LinkedList and compare it. Used: Random class, ArrayList, LinkedList, fori, System.nanoTime ...
To reset arraylist we have two options, one is to use clear() method and another is to use removeall(). we dont need to worry if size of the arraylist is small i.e. 10 to 100. but if arraylist size ...