Implement a Generic Doubly Linked List
HANDS-ON PRACTICE
Implement a Generic Doubly Linked List
Implement an ordinary generic doubly linked list with head, tail, prev, next, and length.
- Implement insertion and removal at the head, middle, and tail.
- Use bidirectional links to approach an index from the nearer endpoint.
- Implement search, updates, and recursive and iterative reversal.