When to use the Array list and when the Linked list?
ArrayList - >
When frequent operation is retrieving the elements from the middle.(Random access)
LinkedList -> when frequent operation is insert / delete at the middle.
#Java#ArrayList#LinkedList#DSA#Coding