Pergunta de entrevista da empresa Novafutur

Find the complexity of an algorithm