Pregunta de entrevista de Amazon

Introduction and given assessment to do