Practice coding problems, solved in python and C++.
Unit tests are all in python, and can be individually run in each folder's test python script or by running test.py
in the head directory (which also builds C++ solutions when necessary).
az
= Amazon practice problemsdc
= Daily Coding problemseu
= Project Euler problems
- python or python3
- cmake
- gcc (and build-essential)
- https://stackoverflow.com/questions/14246119/how-can-i-redirect-the-output-of-unittest-obvious-solution-doesnt-work
- unittest uses a sandbox that wraps std streams, so 2> has to be used to write to a file instead of display on screen
- https://stackoverflow.com/questions/1896918/running-unittest-with-typical-test-directory-structure for common structure
- more problems
- fix the ones I quit on
- improve docs explanation for problems