First off, thank you for considering contributing! It's people like you that make this tool great.
Found a challenge that doesn't have a solution in your favorite language (e.g., PHP, Python, Go)?
- Navigate to the challenge folder.
- Create a new file in the
solutions/folder following this naming convention:solution-[language].[extension](e.g.,solution-python.py). - Add your code with comments explaining the logic (Space & Time complexity analysis is a plus!).
Tip: If you use a compiled language (like Java or Go), please include instructions on how to run it in the comments.
If you have a good interview question you've encountered:
- Create a new folder inside the appropriate category (e.g.,
challenges/02-array-object/my-new-challenge). - Copy the content from
templates/CHALLENGE_README.mdand fill it in. - Provide at least one working solution in the
solutions/folder.
- Fork the repository.
- Create a new branch (
git checkout -b feat/add-python-solution-fizzbuzz). - Commit your changes (
git commit -m 'Add Python solution for FizzBuzz'). - Push to the branch (
git push origin feat/add-python-solution-fizzbuzz). - Open a Pull Request.
- Keep code clean and readable.
- Use meaningful variable names (avoid
x,y,arrif possible). - Explain the "Why": Since this is an educational repo, comments explaining why you did something are more important than the code itself.