Implement a Generic Singly Linked List
HANDS-ON PRACTICE
Implement a Generic Singly Linked List
Implement a generic singly linked list that maintains head, tail, and length.
- Implement append and insertion at the head, middle, and tail.
- Implement removal, indexed access, updates, and search.
- Implement recursive and iterative reversal while preserving tail.