Tech Prescient interview question

Find the time complexity of given code snippet ?