Answer:
ArrayList.get(0,item)
Step-by-step explanation:
Checking the time of execution of the different operation depends on the machine used and the algorithm written. The worst-case scenario should be used for this analysis.
The 'get()' method of the array list is faster than the get, add and remove() method of the linked list.