Pregunta de entrevista de The Judge Group

Live coding of Java algorithm problem