Exponential interview question

run the code on the spot