Pregunta de entrevista de IXL Learning

pair programming exercise, algorithmic questions