Fujitsu interview question

Big O of a certain program