Leetcode's all solution C++ codes