Google Interview Question

what is the time complexity of the algorithm