Question: John tells you that a certain algorithm runs in time 0(n^2 + 200n), and Bill tells you that the same algorithm runs in time 0(n).
John tells you that a certain algorithm runs in time 0(n^2 + 200n), and Bill tells you that the same algorithm runs in time 0(n). Assume that both statements are correct, which one is more informative, i.e., gives you a better estimation of the running time? Why?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
