Sqrt(x)

Implement int sqrt(int x).
Compute and return the square root of x.

Login to see Answer and Coaching Session More interview questions