KLA Interview Question

dry run the code and say the time complexity