finish leetcode_122.