leetcode exercises in c++