- Arrays
- Strings
- Linked Lists
- Trees
- Graphs
- Stacks & Queues
- Recursion
- Backtracking
- Dynamic Programming
- Searching
- Sorting
- HashMap / HashSet
- Misc
git clone https://github.com/karanupd12/DSA-Java.git
cd DSA-Java
Open the project in your preferred Java IDE:
Make sure Java is installed:
- Install Java JDK from the link above (version 17+ recommended).
- Verify installation:
java -version
javac -version
- (Optional) Set JAVA_HOME environment variable:
- Windows: via System Environment Variables
- macOS/Linux: add this to your terminal config file
export JAVA_HOME=/path/to/your/jdk
export PATH=$JAVA_HOME/bin:$PATH
# Fork the repo on GitHub
# Clone your fork
git clone https://github.com/your-username/DSA-Java.git
cd DSA-Java
# Create a new branch
git checkout -b your-feature-branch
# Make your changes
git add .
git commit -m "your message"
git push origin your-feature-branch
# Open a pull request on GitHub
Please keep the structure clean and meaningful.