Pregunta de entrevista de Consumer Reports

Easy to Medium level Algorithmic question.