These are my C++ solutions to Leetcode problems. All problems have the same number as the ones on the https://leetcode.com/ website.
Once you have successfully installed Bazel you can run the code using:
bazel test //problems/test:unit_tests
You can use my following Docker image to instantiate a container locally with Ubuntu and Bazel already installed:
docker run -it --rm framaxwlad/ubuntu_dev:latest
There you can simply clone the repository:
git clone https://github.com/FBorowiec/leetcode.git
cd leetcode/
And use the following commands to run the program:
bazel test //problems/test:unit_tests