Finish leetcode_223