Leetcode exercises in C++