A program has two parameters, M and N. at the high level, the code looks like this: for counter in range(M): perform exp
Posted: Sat Feb 19, 2022 3:20 pm
A program has two parameters, M and N. at the high level, the code looks like this: for counter in range(M): perform expensive computation1 for counter in range(N): perform expensive computation2 Big-O analysis of this code yields the following time complexity: Cross out cross out O a. O(M) or O(N) O b. O(M*N) Oc O(M+N) O d. if M is bigger than N then O(N) else O(M) Cross out cross out After the following statements, what are the values of both variables? x = 2013 y = x x= 13 CROSS Out CROSS Out CROSS out O a. xis 2013 and y is 12 O b. xis 13 and y is 2013 Ocxis 2013 and y is 2013 O d. x is 13 and y is 13 Cross out