Finish leetcode_37.
Update leetcode_36.