This repository contains C++ solutions for the Blind75 coding challenges from https://neetcode.io
The repository is organized into modules and exercises. Each module contains a set of exercises related to a specific topic:
├── moduleXX_name
│ ├── exXX_name
│ │ ├── files
│ │ ...
│ ...
In each exercise directory, you will find the following files:
-
description.cpp
: A text file containing the problem statement and requirements for the exercise. -
Solution.cpp
andSolution.hpp
: Contain the implementation and declaration of the exercise's solution class. -
main.cpp
: A testing file for the provided solution. -
test.sh
: A bash script that compiles and executes the program for testing.
To test a solution, navigate to the exercise directory and run the test.sh
script:
cd moduleXX/exXX_name
./test.sh
This will compile the solution and test files and execute the tests, providing the results.