Amazon Interview Question

What is the time complexity of this recursive function?