C++ solutions of leetcode problems