Skip to content

A beginner-friendly open source repository under HashSlap Summer of Code (HSSoC), focused on implementing, optimizing, and learning popular algorithms across multiple languages. Ideal for first-time contributors to start contributing to open source through real-world algorithmic challenges.

License

Notifications You must be signed in to change notification settings

HashSlap-Summer-of-Code/Algorithms

🚀 HSSoC Algorithm Directory

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. 🌟


📌 About This Repository

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.


📂 Repository Structure

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!)

🛠 How to Contribute?

Step 1: Fork & Clone

  1. ⭐ Star this repository (appreciation is always welcome!).
  2. 🍴 Fork the repo to your GitHub account.
  3. Clone it locally:
    git clone https://github.com/your-username/HSSoC-Algorithm-Directory.git

Step 2: Pick an Algorithm

  • Check the existing implementations.
  • Choose an unimplemented algorithm or optimize an existing one.
  • Ensure no duplicate PRs by checking Issues.

Step 3: Implement & Document

  • Follow the folder structure (Language → Category → Algorithm).
  • Write clean, efficient, and well-commented code.
  • Include a README.md (if needed) explaining the algorithm.

Step 4: Submit a Pull Request

  1. Create a new branch:
    git checkout -b feat/add-quicksort
  2. Commit & Push:
    git add .
    git commit -m "feat: Added QuickSort in Python"
    git push origin feat/add-quicksort
  3. Open a PR with a clear title and description.

📜 Contribution Guidelines

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.


Join the Community

💬 Discord: Join HSSoC
🐦 Twitter: @HSSoC

Let’s build something amazing together! 🚀

Happy Coding! 💻✨

About

A beginner-friendly open source repository under HashSlap Summer of Code (HSSoC), focused on implementing, optimizing, and learning popular algorithms across multiple languages. Ideal for first-time contributors to start contributing to open source through real-world algorithmic challenges.

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 10