Capgemini Interview Question

Calculate the time complexity of a given algorithm.