Square Root of x

# Introduction In this challenge, you will implement a function named `mySqrt` that takes a non-negative integer `x` as input and computes its square root. The returned value should only contain the integer part of the square root and cannot use any built-in exponentiation functions or operators. The function code must be written in a file called `mySqrt.js` and exported following the given instructions. The function can handle inputs within the range of `0` to `(2^31) - 1`.

|
60 : 00

Click the virtual machine below to start practicing