Please solve problems correctly. For each of the following questions, give proof
ID: 3549164 • Letter: P
Question
Please solve problems correctly.
Explanation / Answer
1.1)
f(n) = w(g(n))
we mean that the best case complexity of f(n) is g(n)
1.2)
f(n) = theta(g(n))
theta notation is for tighter bound
we mean that the complexity of f(n) is g(n)
1.3)
f(n) = w(g(n))
then we know that best case complexity of f(n) is g(n)
so it can't be f(n) = theta(g(n))
because theta notation is average case but not best case complexity
1.4)
3^n = w(2^n)
this is true
because 3^n best complexity can be 2^n
1.5)
n^3 = w(n^2)
this is true
because n^3 best complexity can be n^2
1.6)
3n = w(2)
this is true