Linked List vs Array
Array: contiguous memory and O(1) indexed access.
Linked List: non-contiguous nodes connected through references.
Array insertion/deletion in the middle is generally O(n).
Linked List insertion/deletion can be O(1) when the required position or node reference is already available.
Linked Lists have additional memory overhead for node references.
Arrays generally provide better cache locality.