Skip to content

RichardCG75/CodeMasterChallenges

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

CodeMaster Challenges

Table of Contents

What is this repo?

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.

Who is this repo for?

This repo is for anyone who wants to practice coding challenges and improve their problem-solving skills.

Project Structure

  • 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
      • other_challenge_name/
        • DESCRIPTION.md
        • etc ...
      • etc ...
    • string
      • etc...
    • etc ...

How to use?

Clone the repo

git clone https://github.com/RichardCG75/CodeMasterChallenges.git

How to navigate to a challenge?

Please check the Project Structure above to understand how the challenges are organized.

  1. Choose a challenge type (e.g. array, string, tree, etc.) and navigate to the challenge folder.
  2. 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

How to solve a challenge?

  1. Read the DESCRIPTION.md file to understand the problem.
  2. Choose your favorite programming language (e.g. cpp, java, python, etc.) and navigate to its folder.
  3. Write your solution in the solution file.
  4. Read the INSTRUCTIONS.md file to understand how to run the tests.
  5. Run the tests to check if your solution is correct.

Example:

cd cpp
code solution.cpp
... solve the problem ...
cd build
cmake ..
make
./RunTests

How to check the solution of a challenge

  1. Change to the git branch solutions.
  2. Navigate to the challenge folder.
  3. Choose your favorite programming language (e.g. cpp, java, python, etc.) and navigate to its folder.
  4. Read the solution file to check the solution.

Contributing

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.

Contact

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! :)");

About

This repo is an environment where you can solve LeetCode challenges and test your solutions using your favorite tools like VSCode and Github Copilot.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors