Welcome to the Java-DSA repository! I have tried to include collection of data structures and algorithms implemented in Java. It is intended to be a helpful resource for anyone looking to improve their understanding and skills.
This repository includes implementations of various data structures and algorithms in Java. Each implementation is accompanied by a detailed commented explanation . The goal is to provide clear, concise, and efficient implementations that can serve both as educational material and practical code for practicing DSA.
To get a local copy up and running follow these simple steps.
- Java Development Kit (JDK) 8 or higher
- A code editor or IDE like IntelliJ IDEA, Eclipse, or VSCode
- Git
- Clone the repository
git clone https://github.com/abhijeet-dhumal/Java-DSA.git
src/
: Contains topic-wise source code of the data structures and algorithms using Java.
To run any of the programs, navigate to the relevant directory and compile the Java files using the Java compiler (javac
). Then, run the compiled classes using the Java interpreter (java
).
Example:
cd src/P_08_Sorting/P_01_BubbleSort
javac C_01_BubbleSort.java
java C_01_BubbleSort
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated. If you have a suggestion that would make this better, please fork the repository and create a pull request. You can also simply open an issue with the tag "enhancement".
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request