What Is The Difference Between An Array And Linked List?
Answer Posted / Surbhi Jain
An array is a collection of elements stored at contiguous memory locations, while a linked list is a collection of nodes where each node points to the next node. Arrays provide faster access to elements due to their continuous memory allocation, but they have limitations in size and growth flexibility. Linked lists can dynamically grow and shrink but accessing an element takes more time.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers