0 votes 0 votes Algorithms asymptotic-notation + – Hai Hai asked Jul 3, 2015 Hai Hai 2.9k views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
Best answer 3 votes 3 votes Yes this is true . say O (F(n)) = O(n2) (assume ) T1(n) = O (n2) and T2(n) = O (n2) then T1(n) + T1(n) = 2 O (n2) = O (n2) (constant term dont affect the complexity ) eg : F(n) = 2n2 +n+1 then O (F(n))= n2 Pranay Datta 1 answered Jul 3, 2015 • selected Jul 3, 2015 by Hai Hai Pranay Datta 1 comment Share Follow See all 0 reply Please log in or register to add a comment.