Pregunta de entrevista de GDP Labs

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