Question: 1 . ( 5 pts ) Prove h n ( n + 1 ) 2 i 2 n 2 ( n 2 + 1 )

1.(5 pts) Prove
h n(n+1)
2
i2
n2(n2+1)
4+98 in O(n3).
2.(5 pts) Prove or disprove 22n
in O(22n).
3.(5 pts) Prove that any function that is in O(log2 n) is also in O(log3 n).
4.(5 pts) Prove that if f1(n) in O(g1(n)) and f2(n) in O(g2(n)), then
f1(n)+ f2(n) in O(g1(n)+ g2(n))

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!