Welcome to the Data Structures and Algorithms open-source repository!
This repo is created to help beginners and intermediate programmers practice and contribute their DSA problem solutions in any programming language.
The goal of this repository is to encourage you to:
- Write DSA solutions in your favorite programming language
- Learn Git & GitHub workflow (Fork → Commit → Pull Request)
- Contribute to Hacktoberfest 2025
This repository is participating in Hacktoberfest 2025! We welcome and encourage new contributors to help us improve this project.
-
Fork this repository
-
Clone your fork:
git clone https://github.com/<your-username>/data-structure-and-algorithm.git
-
Create a new branch:
git checkout -b feature/your-feature-name
-
Add your code:
- Create or use the folder for your programming language
- Example:
Java/ Python/ C++/ JavaScript/
- Add your DSA solution file (e.g.,
BinarySearch.java
orStack.py
) - Include comments explaining your approach
-
Commit your changes:
git add . git commit -m "Added Binary Search in Python"
-
Push your branch:
git push origin feature/your-feature-name
-
Create a Pull Request (PR) to the main branch.
📂 data-structure-and-algorithm
┣ 📂 Java
┃ ┣ Array.java
┃ ┣ Stack.java
┣ 📂 Python
┃ ┣ BinarySearch.py
┃ ┣ Queue.py
┣ 📂 C++
┃ ┣ LinkedList.cpp
┃ ┗ Graph.cpp
┣ 📄 README.md
┣ 📄 CONTRIBUTING.md
┣ 📄 CODE_OF_CONDUCT.md
┗ 📄 LICENSE
- Add unique solutions only (no duplicate problem-language pairs)
- Include comments for clarity
- Write clean, readable code
- Don't spam — only meaningful PRs will be accepted
Issues will be categorized using these labels:
good first issue
— for beginnershacktoberfest
— eligible for Hacktoberfesthelp wanted
— needs contributors
This repository is licensed under the MIT License — free for anyone to use, modify, and distribute.
Maintained by Vikram Kumar
Open for Hacktoberfest 2025 contributions 🎉