Pregunta de entrevista de Google

only dsa and competitive programming.