What kind of list is best to many questions such as "What is the item at position n"?
Answers
Answered by
11
Answer:
Arrays provide random access to elements by providing the index value within square brackets. In the linked list, we need to traverse through each element until we reach the nth position.
Similar questions