Finish leetcode_544.