A small Java project with custom implementations of core data structures.
Generic singly linked list implementation with:
- add element to the end
- insert element at a specific index
- get element by index
- remove element by index
- size tracking
- custom string representation
Generic doubly linked list implementation with:
- head and tail references
- add element to the end
- insert element at a specific index
- get element by index
- remove element by index
- forward and reverse string representation
- optimized node search from both directions
Generic queue implementation built on top of the doubly linked list with:
- enqueue
- dequeue
- dequeue multiple elements
- peek
- size
- isEmpty
doublelinkedlist/
linkedlist/
queue/