Domanda di colloquio di Amazon

asked on leetcode no between 39