Meta Interview Question

What's the time complexity?