Bloomberg Interview Question

Calculate time complexity of your algorithm