Finish leetcode_38.
finish leetcode_39.