Malwarebytes Interview Question

Time complexity of a function