Comparison of running times
For each function f(n) and time t in the following table, determine the largest size n of a problem that can be solved in time t, assuming that the algorithm to solve the problem takes f(n) microseconds.
| 1 second | 1 minute | 1 hour | 1 day | 1 month | 1 year | 1 century |
Ig n |
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
n |
|
|
|
|
|
|
|
n lg n |
|
|
|
|
|
|
|
n2 |
|
|
|
|
|
|
|
n3 |
|
|
|
|
|
|
|
2n |
|
|
|
|
|
|
|
n! |
|
|
|
|
|
|
|
We need at least 9 more requests to produce the solution.
1 / 10 have requested this problem solution
The more requests, the faster the answer.