Pregunta de entrevista de Digital Brain Technologies

A simple algorithm question, can use any programming language.