If the tension in the string is T, resolving horizontally and vertically and using F=ma (where a is the acceleration towards the centre):
Tcosθ=mg


Tsinθ=mlsinθ ω2

Eliminating T:
l ω2 cosθ=g

and hence the angle θ is cos-1 g l ω2 .

If we increase the angular velocity then cosθ decreases and angle θ increases and hence the mass rises up and the radius of the circle it moves on also increases.

As cosθ1 we have
g l ω2 1

so
ω g l

and hence the smallest angular speed with which the ball can whirl in a circle on this string is
g l .