C++ code of leetcode