Question d’entretien chez GadgEon

Find time complexity of a program