Pergunta de entrevista da empresa Amazon

Coding questions from leetcode and hackerank.