Question: For each function f(n) (the row index in the following table) and time t (the column index in the following table), determine the largest size
For each function f(n) (the row index in the following table) and time t (the column index in the following table), determine the largest size n (which should be an integer) of a problem that can be solved in time t, assuming that the algorithm takes f(n) microseconds to solve an instance of a problem of size n. Fill the value n in the corresponding entry. Note that n has to be an integer.
| 1 second | 1 minute | 1 hour | 1 day | 1 month | |
| 2 log2 n | |||||
| 2n + 1000 | |||||
| n^4 + n | |||||
| 2^n |
n 2n + 1000 n4 + n 2n
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
