Py-Contributors / AlgorithmsAndDataStructure

Algorithms And DataStructure Implemented In Python, Java & CPP, Give a Star 🌟If it helps you
https://codeperfectplus.com/
MIT License
943 stars 642 forks source link

Java data structures #938

Closed massoudsalem closed 1 year ago

massoudsalem commented 1 year ago

Added new Java data structures:

Linked List: Doubly Linked Lists implementation.
Queue: Using LinkedList for FIFO queue.
Stack: Using LinkedList for LIFO stack.
Heap: Max heap and min heap implementation using a type param.
Hash Table: Using separate chaining and open addressing for collision resolution.
Binary Search Tree: Includes traversal, search, insertion, and deletion.

Please review the implementations and let me know if any changes are needed before merging. Looking forward to contributing more to this incredible repository!

Hope this helps! Let me know if you would like me to modify or expand the pull request message in any way.