Pregunta de entrevista de Amazon

basically an overview and efficiency test