Finish leetcode_216.