Question d’entretien chez Tech Prescient

Find the time complexity of given code snippet ?