C++ playground for data structure and algorithm programs.
- GoogleTest https://github.com/google/googletest
- Enter the directory for each problem and compile the source code.
g++ -c <problem_source_code>.cpp
- Test with googleTest framework using the following command.
g++ test.cpp -o test <problem_source_code>.o -lgtest -lgtest_main
- Run test to show the result
./test
-
- matrix chain multiplication
- optimal binary search tree
-
- binary search tree
- red black tree