Pergunta de entrevista da empresa Ocient

What is the time complexity of the code you just wrote?