Solution

The stone rises up till its vertical velocity is zero and again reached the top of the tower with a speed u (downward). The speed of the stone at the base is 3u.
Hence $(3u)^{2} = (-u)^{2} + 2gh$ or $h = 4u^{2}/g$

Concept Motion under gravity