Hint: ArrayList grows x2 for each array copy. Coun...
# random
o
Hint: ArrayList grows x2 for each array copy. Count how many copies you have to make for N elements in list, and of how big size. Compare to memory used in LinkedList