Leetcode solutions in C++ language.