What are Linked List?
- Linked Lists are a fundamental data structure in computer science
- They consist of a sequence of nodes, where each node contains data and a pointer to the next node in the sequence
- Head is the first node and tail is the last node in the linked list
- This structure allows for dynamic memory allocation and efficient insertion and deletion of elements
Related examples
- Read my solution to some LeetCode problems below
- Reverse Linked List
- Reorder List
- https://docs.google.com/document/d/1OiEYxC6jXoZMtXaA2dt_krmBJ3YsWWykUzuC_4D4DXg/edit?usp=sharing
Resources
Concepts explained here are following those from Neetcode’s roadmap
.