Domanda di colloquio di Amazon

General coding logic - basically just leetcode but with pretty rough test cases