I have been trying to solve the recurrence
$T(n) = \sqrt{n} T \left(\sqrt n \right) + n$
for some time now. I only know substitution, recursion trees, and the master method (though it doesn't apply here, so i'd prefer help in those forms. I also attempted to change variables but got nowhere.
My plan was to use a recursion tree, but I seem to be stuck, as this recurrence isn't in the usual form $T(n)= aT(n/b)+f(n)$. However, I do know that the first level of the tree has the cost of $cn$, and that the next level down has $\sqrt n$ nodes. My main concern is how I can express the next level's recurrence, which I got to be $T(\sqrt n)=\sqrt nT(\sqrt(\sqrt n))+\sqrt n$, though I feel like that is wrong.