Pregunta de entrevista de Amazon

Some behavioral questions and one leet code medium problem.