finish leetcode_131.