Microsoft Interview Question: Time complexicity... | Glassdoor