Finish leetcode_81.