This is my Leetcode solutions.