How should I interpret
How do I interpret this? One way is to take it as logn(logn) and other is . Both would be giving different answers.
For eg: Taking base 2 and n=1024, in first case we get 10*10 as ans. In the second case, we get 10^10 as ans or am I doing something wrong?
Because log(n^log n)=(log n)^2
, I would assume that log n^log n
should be interpreted as (log n)^(log n)
. Otherwise, there's no point in the exponentiation. But whoever wrote that down for you should have clarified.