Finish leetcode_66.