Pregunta de entrevista de Vanguard

Write an algorithm and explain its complexity