This reposity is a note for solution of leetcode.
I wrote the code and arrange them by Bazel. No main function exists, the results is a shared library, so you can test it easily by writing any code you want. I add the GTest library for unit test, so the test folder will generate the execuation file for unit test. The default test case is given by the leetcode description, and you can add the test case by yourself.
I test my code only on the linux and windows, so I have no idea about other platform. Now support the bazel builder.
- A C++11-standard-compliant compiler
- Microsoft Visual C++ 2015 or newer
Please click Problem Lists for details.