Welcome to the HashSlap Summer of Code (HSSoC) Algorithm Directory – a meticulously curated collection of popular algorithms implemented in multiple programming languages. Whether you're a beginner taking your first steps in open-source or an experienced developer refining your skills, this repository is your playground to learn, contribute, and grow. 🌟
This repository serves as a central hub for:
✅ Algorithm Implementations – Clean, efficient, and well-documented code in Python, C++, Java, and more.
✅ Learning & Collaboration – Perfect for first-time contributors to make meaningful open-source contributions.
✅ Best Practices – Encourages modular, readable, and optimized code with proper documentation.
Each algorithm is organized by language and category (Sorting, Searching, Graphs, DP, etc.) for easy navigation.
HSSoC-Algorithm-Directory/
│
├── Python/
│ ├── Sorting/
│ │ ├── bubble_sort.py
│ │ ├── merge_sort.py
│ │ └── ...
│ ├── Searching/
│ │ ├── binary_search.py
│ │ └── ...
│ └── Graph/
│ ├── dijkstra.py
│ └── ...
│
├── C++/
│ ├── DP/
│ │ ├── knapsack.cpp
│ │ └── ...
│ ├── Greedy/
│ │ └── prims_algorithm.cpp
│ └── Trees/
│ └── avl_tree.cpp
│
├── Java/
│ ├── Backtracking/
│ │ ├── n_queens.java
│ │ └── ...
│ └── ...
│
├── CONTRIBUTING.md 📜 (Guidelines for contributors)
└── README.md 📌 (You're here!)
- ⭐ Star this repository (appreciation is always welcome!).
- 🍴 Fork the repo to your GitHub account.
- Clone it locally:
git clone https://github.com/your-username/HSSoC-Algorithm-Directory.git
- Check the existing implementations.
- Choose an unimplemented algorithm or optimize an existing one.
- Ensure no duplicate PRs by checking Issues.
- Follow the folder structure (Language → Category → Algorithm).
- Write clean, efficient, and well-commented code.
- Include a README.md (if needed) explaining the algorithm.
- Create a new branch:
git checkout -b feat/add-quicksort
- Commit & Push:
git add . git commit -m "feat: Added QuickSort in Python" git push origin feat/add-quicksort
- Open a PR with a clear title and description.
✔ No duplicate implementations (check existing files first).
✔ Follow standard naming conventions (e.g., quick_sort.py
).
✔ Add comments for better readability.
✔ Test your code before submitting.
For detailed guidelines, check CONTRIBUTING.md.
💬 Discord: Join HSSoC
🐦 Twitter: @HSSoC
Let’s build something amazing together! 🚀
Happy Coding! 💻✨