Amazon interview question

leetcode a lot of leetcode