Pergunta de entrevista da empresa Coursera

Q: What is the algorithm time complexity of this piece of code?