What is the time complexity of the following function?def mystery(lst):index = 0while index <>index2 = 0while index2 < index="" **="">index2 = index2 + 1index = index + 1a) Linearb) Quadraticc) Slower than quadraticd) Faster than linear
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here