Category 21CS42

Prove the following theorem

4] Prove the following theorem if  t1(n) ϵO((g1(n)) and t2(n) ϵ O(g2(n)) then t1(n)+ t2(n) ϵ O(max{g1(n),g2(n}) To prove the theorem, we’ll use the definitions of Big O notation and…