kimjooin02
kimjooin02
18.12.2019 • 
Mathematics

What is the effect in the time required to solve a prob- lem when you double the size of the input from n to 2n, assuming that the number of milliseconds the algorithm uses to solve the problem with input size n is each of these function? [express your answer in the simplest form pos- sible, either as a ratio or a difference. your answer may be a function of n or a constant.]

a. log n
b. log log n
c. 100 n
d. n log n
e. n2
f. n3
g. 2n

Solved
Show answers

Ask an AI advisor a question