This repository contains implementations of various algorithms and data structures in Java.
The repository contains the following folders: algorithms/src: This folder contains the Java source code for the algorithms and data structures. dataStructures/src: This folder contains the Java source code for the algorithms and data structures.
To use any of the algorithms or data structures in your Java project, you can simply copy the relevant Java files from the src folder into your own project. You can also run the JUnit test cases in the test folder to ensure that the implementations are correct.
The following algorithms are currently implemented in this repository:
- Binary search
- Bubble sort
- Selection sort
- Insertion sort
- Merge sort
- Quick sort
- LinearSearch
- InterpolationSearch
- Shell sort
The following data structures are currently implemented in this repository:
- Stack
- Queue
- Hash Map
- Linked list
- CircularLinkedList
- DoublyLinkedList
Contributions to this repository are welcome! If you find a bug or error in any of the implementations, or if you would like to add a new algorithm or data structure, please feel free to submit a pull request.