I think it should be like:
$=\dfrac{\log(\log(n^2+10))}{\log(n)}$
$=\dfrac{\log(2\log(n))}{\log(n)}$
$=\dfrac{\log(\log(n))}{\log(n)}$
But $\log(\log(n))<\log(n)$ As the $log(n)$ is in the denominator.
Hence it is $O(\log(\log(n)))$
Is it correct?
I think it should be like:
$=\dfrac{\log(\log(n^2+10))}{\log(n)}$
$=\dfrac{\log(2\log(n))}{\log(n)}$
$=\dfrac{\log(\log(n))}{\log(n)}$
But $\log(\log(n))<\log(n)$ As the $log(n)$ is in the denominator.
Hence it is $O(\log(\log(n)))$
Is it correct?
The fact it is $O(1)$ implies that it is $O(\log(\log(n))$ because $O(1) \subsetneq O(\log(\log(n))$,
– adfriedman Dec 13 '17 at 18:03