Finish leetcode_35.