Pregunta de entrevista de Amazon Web Services

basically questions from leet code