This repositry containts practice solutions to some of the dynamic programming problems in computer science. For each problem there is
- problem definition
- solution discussion
- solution implementation
- unit tests using Google Test
- C++ compiler, preferably GCC
- Cmake
- GoogleTest
- Clone this repository
- Create a folder inside main folder of the repository. E.g;
mkdir build
- Navigate to folder created in step 2.
cd build
- Run Cmake to generate makefiles.
cmake ..
- Build.
make
- Run the unit tests. E.g;
./Fibonacci/Fibonacci
for running Fibonacci tests. You can run all tests with a commandctest -V
while in folderbuild
.