Finish leetcode_38.