Spyke Games interview question

What is the time complexity of this code?