Cpp solutions for LeetCode OJ