Leetcode in C++