If f(n)=loga(n)+logb(n) , a>b>1, then

  1. f(n) is O(loga(n))
  2. f(n) is O(logb(n))
  3. Both of the above
  4. None of the above
    What is the correct answer to the question. Please help me with explanation

Hello @kodivine0,

The answer should be 2.

Reason:
for e<10, ln(10)>log(10).
So, same way loga(n)< logb(n) for a>b.

Hope, this would help.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.