Amazon interview question

Leetcode hard problems