Domanda di colloquio di Amazon

Question given was a LC medium