IBM Interview Question

What is the complexity of this algorithm?