Before i ask this question here, I found that this site is the appropriate site to ask this question from here
I am having 2 algorithms Say A and B for same problem.
A is complexity is = 5nlogn
B is complexity is = n sqrt(n)
I want to find the value of n0 so that i can prove A is better than B.
I tried the below:
5nlogn/nsqrt(n) = 5logn / sqrt(n)
by putting
n = 512 ==> i got the answer. But i am not sure whether it is correct?
How can i do that?.
To be clear: i want to prove the below
A = BigO(B)