One day your friend who has a tendency of lying on pretty much everything came up to you made the following three claims:
For constant and , which of the statements is actually true?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
For (A):
( n + k ) x → n x for large x ⟹ O ( n x )
For (B):
2 2 n + 1 → 2 ] c d o t 2 2 n ⟹ O ( 2 2 n )
For (C):
2 n + 1 → 2 ⋅ 2 n ⟹ O ( 2 n )
So, only A and B were correct.