The question is to find out which among $n^\sqrt{n}$ or $n^(log_2 n)$ is asymptotically larger? Now as a solution I read somewhere that if we take log on both sides and then compute which one is larger, it gives the same result.
Like, taking log on both sides here gives, $\sqrt{n}$ *$log_2 n$ and $(log_2 n)^2$.
Now we compute which one is larger. why taking log doesn't affect the original problem?