Exercise 2.2.2 Prove the following relations: (1) n i=1 i = O(n2), (2) n i=1 i 2

Question:

Exercise 2.2.2 Prove the following relations: (1)

n i=1 i = O(n2), (2)

n i=1 i 2 =

O(n3), (3)

log2 n i=0 2i = O(n), (4)

α log2 n i=0 2i = O(nα), (5) n

n i=0 i−1 = O(n ln n).

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: