Pregunta de entrevista de Made Tech

Solving an unseen coding problem.