Pergunta de entrevista da empresa Amazon

usual coding problems from cracking the code interview