Pregunta de entrevista de Amazon

basic leet code questions from easy to medium