Finish leetcode_34.