Linked listing
Linked list is expensive
- It needs more memory to store next and in some cases next and previous pointers.
- It does random memory access causing the CPU cache to fail.
Hence linked list is good only when there is no memory constraints.
Hence linked list is good only when there is no memory constraints.