Skip to article frontmatterSkip to article content

Problems

1-1 Comparison of running times

For each function f(n)f(n) and time tt in the following table, determine the largest size nn of a problem that can be solved in time tt, assuming that the algorithm to solve the problem takes f(n)f(n) microseconds.

1 second1 minute1 hour1 day1 month1 year1 century
lgn\lg n
n\sqrt{n}
nn
nlgnn \lg n
n2n^2
n3n^3
2n2^n
n!n!