Malwarebytes interview question

Time complexity of a function