Pergunta de entrevista da empresa Amazon

basically an overview and efficiency test