Fujitsu Interview Question

Big O of a certain program