Oncam Grandeye interview question

Calculate the run time complexity of an algorithm