Leetcode Amazon Oa List, 2 questions, 90 mins.