Skip to content

Latest commit

 

History

History
55 lines (31 loc) · 3.12 KB

README_TEMPLATE.md

File metadata and controls

55 lines (31 loc) · 3.12 KB

Solutions to Coding Challenges with Explanations

Let's collect as many different solutions for coding challenges as we can! Better yet, let's try to explain them easily!

How to Use This Repo

  • Links to challenges are in the 'Challenges' column of the 'Challenges' table below.

  • The solutions can be found in the Solutions folder. Links are in the 'Solutions' column of the table below.

  • Code for various data structures and algorithms can be found in the 'Data Structures' and 'Algorithms' tables.

  • The explainers can be found in the Explainers folder, with more information in the EXPLAINERS.md

Hackerrank Challenges

%hackerrank_challenges%

Codewars Challenges

%codewars_challenges%

Data Structures and Algorithms

Data Structures

Data Structure Code Explainers
Array N/A Explainers
Singly Linked List Code Explainers
Doubly Linked List Code Explainers

🤝 Contributing

  • Contributions are welcome. Fork the project, make changes, then make a pull request.

  • If you're going to suggest a new coding challenge to include on the list, then include your solution along with the coding challenge. Make sure your solution is in the appropriate language folder. Include a link to the coding challenge in the top-level README before making your pull request, and make sure it is passing all test cases.

  • If you're going to suggest a new solution to a coding challenge that already has an existing solution in the repo, make sure it fulfils at least one of the following:

    • Has better time complexity than the existing solution
    • Has the same time complexity but involves writing less code
    • Is well commented to explain what is going on
  • Optionally, consider writing a short article or making an explainer video where you explain how the algorithm works and the thinking process that led you to that particular solution. I am currently trying to do write-ups for all of my solutions to make these algorithms more accessible and would love assistance on the same. You can add your explanation to the any of the EXPLAINER-*.md documents.

  • To suggest a new challenge to add to the list, add it to the (CHALLENGES.md)[./Challenges/CHALLENGES.md] file with a link to the webpage with the challenge. Ideally, the page should have test cases to verify. In case your challenge does not have test cases, please provide test cases along with your challenge.

Show your support

Give a ⭐️ if you like this project!

📝 License

This project is MIT licensed.