Welcome, contributor! 🎉
We're excited to have you help grow this multi-platform Programming Problems Vault under HashSlap Summer of Code (HSSoC) 🚀
This guide will help you get started with contributing effectively.
To ensure a clean, consistent, and high-quality repository, please follow these rules:
- 📂 Solutions to problems from:
- LeetCode
- HackerRank
- HackerEarth
- Codeforces
- CodeChef
- AtCoder
- Other recognized platforms
- 📘 README.md explanations for each problem
- 🐞 Fixes to existing solutions, typos, or formatting
- 📁 Organizing code in the proper directory structure
Organize solutions by:
platform → topic → problem
root/
├── platform/
│ └── topic/
│ └── problem-name/
│ ├── solution.ext
│ └── README.md
For example:
leetcode/
└── arrays/
└── two-sum/
├── solution.cpp
└── README.md
Each problem must include a README.md with:
# Problem Name – Platform
## 🧩 Problem Statement (summary)
Brief summary of the problem or constraints.
## 💡 Approach
- Describe your logic and algorithm.
- Mention time and space complexity.
## 📜 Code Explanation
Explain your code step-by-step.
## 🔗 Problem Link
[View on LeetCode](https://leetcode.com/problems/two-sum/)📌 PRs without a proper README will not be accepted.
- Write clean, readable, and well-commented code.
- Support any programming language you’re comfortable with.
- Use the correct file extension (
.cpp,.py,.java, etc.) - Avoid plagiarism or AI-generated code dumps.
- Each solution should solve the problem efficiently and correctly.
- Fork the repository
- Clone your fork locally
- Create a new branch (
git checkout -b feature-name) - Add your code under the proper directory
- Add a README.md in the same folder
- Commit your changes (
git commit -m "Added solution for XYZ") - Push to your fork (
git push origin feature-name) - Open a Pull Request to
mainon the original repo
- ❌ Don't dump random files in the root directory
- ❌ Don't submit code without a proper README
- ❌ Don't use auto-generated code without explanation
- ❌ Don't rename or restructure others’ folders
- All valid contributors will be featured on the Contributors page!
- Your PRs will count towards HSSoC and Hacktoberfest contributions if applicable.
Join our Discord community to ask, learn, and connect:
Thank you for contributing to this community-driven learning hub! 🙌 Let's make this the ultimate multi-platform DSA vault together 💪
— HSSoC Team 💙