Thomson Reuters interview question

Find big Oh of code

Glassdoor | Glassdoor