My leetcode solutions in c++