Pregunta de entrevista de Citi

Nothing to difficult basic Java, Javascript and Python questions.