• edited by
740 views

1 Answer

–1 –1 vote
O(f(x) + g(x))= max {O(f(x)),O(g(x))} by putting n =15 i find log n is greater than n^1/2 so i think you are right its O(log n)
Position:
Show:

Related questions

2 2 votes
1 answers 1 answer
959
959 views
Meenakshi Sharma asked Oct 17, 2016
959 views
the definition of big O and Big omega notation difference given in coreman is quite confusing so if someone can explain in clear way and e.g is function is like x3+4...
0 0 votes
1 1 answer
980
980 views
gate_forum asked Jan 13, 2019
980 views
O(n)O(Log n)O(Log log n)none
3 3 votes
1 1 answer
1.4k
1.4k views
A_i_$_h asked Sep 18, 2017
1,353 views
a) T(n) = √n T(√n) + nb) T(n) = 4T(n/2) + n2 √(2)
0 0 votes
1 1 answer
893
893 views
Manish Kumar 14 asked Jun 17, 2017
893 views
Time Complexity ofT(n) = 2T(n-1)+nby using substitution method