Object Oriented Programming·Generics & Collections·FoundationWhich list to useCode appends to a list and reads elements by index, hundreds of thousands of times.ArrayList or LinkedList?AArrayList, because indexed access is constant timeBLinkedList, because appending does not require resizingCLinkedList, because it uses less memory per elementDEither, since both are constant time for these operationsCheck answer