Data Structure
3 fundamental data sturcutures
- Array
- Fast indexing
- fixed size(limited resizing)
- Singly Linked List
-Dyanamic size
-poining to next
- efficient insertions and deletions
- but slow random access
- Doubly Linked List
- Pointing forward and backward
Array
contiguous memory layout
requires all elements to be the same type