Linked List
Linked Lists store linear collections of data using pointers rather than contiguous memory allocation.
Key Operations and Patterns
- Dummy Head Technique: Avoids null edge cases when modifying the head node.
- In-place Reversal: Changing pointers iteratively or recursively without extra allocation.
- Fast and Slow Pointer: Finding the middle element, cycle detection, or -th node from the end.