2^n
is the order of 3^n
.
These two functions are related as 2^n = O(3^n)
.
or more appropriately , we can say 2^n = o(3^n)
.
I am having this doubt that what is actually the order. Is it saying same aymptotic order?
Wikipidia, big O notation says, that these two functions dont have the same order.
Plz, clarify me, what is actually order here.
I am new to algorithms, so plz correct me, if what i am asking is silly question.