This repo is a code environment where you can solve code challenges and test your solutions using your favorite tools like VSCode, Github Copilot or any other tool you want, also you can customize the environment to your needs and preferences like adding new challenges, new programming languages, new tests, etc.
This repo is intended to be collaborative, so feel free to contribute by adding new challenges, new programming languages, new tests, etc.
By the way, challenges variety may be limited at early stages, but we will be adding more challenges over time.
This repo is for anyone who wants to practice coding challenges and improve their problem-solving skills.
- project/
- array/
- challenge_name/
- DESCRIPTION.md
- cpp/
- build/
- INSTRUCTIONS.md
- CMakeLists.txt
- solution.hpp
- solution.cpp
- tests.cpp
- java/
- build/
- INSTRUCTIONS.md
- solution.java
- tests.java
- cpp/
- DESCRIPTION.md
- other_challenge_name/
- DESCRIPTION.md
- etc ...
- etc ...
- challenge_name/
- string
- etc...
- etc ...
- array/
git clone https://github.com/RichardCG75/CodeMasterChallenges.gitPlease check the Project Structure above to understand how the challenges are organized.
- Choose a challenge type (e.g. array, string, tree, etc.) and navigate to the challenge folder.
- Once you are in the challenge folder, you will see a list of challenges. Choose a challenge and navigate to its folder (e.g. sum-of-two-integers).
Note: Directories starting with underscore _ are shared directories used by different challenges, for example _include directory is used in C++ to store include files. So, you can ignore this directories.
Example:
cd CodeMasterChallenges/array/sort-an-array- Read the
DESCRIPTION.mdfile to understand the problem. - Choose your favorite programming language (e.g. cpp, java, python, etc.) and navigate to its folder.
- Write your solution in the
solutionfile. - Read the
INSTRUCTIONS.mdfile to understand how to run the tests. - Run the tests to check if your solution is correct.
Example:
cd cpp
code solution.cpp
... solve the problem ...
cd build
cmake ..
make
./RunTests- Change to the git branch
solutions. - Navigate to the challenge folder.
- Choose your favorite programming language (e.g. cpp, java, python, etc.) and navigate to its folder.
- Read the
solutionfile to check the solution.
Everyone is welcome to contribute to this project. You can contribute by adding new challenges, new programming languages, new tests, enhancing the project structure, md files, etc.
If you have any questions or suggestions, please feel free to contact me at
Github: RichardCG75
Email: ricardo.chaconr6@gmail.com
LinkedIn: Ricardo Chacon
Thank you for visiting this repo!
printf("Happy coding! :)");