Implement a function to calculate the square root of a number using the binary search method
HardProblem Statement
Implement a function to calculate the square root of a number using the binary search method
Sample Input
16
Sample Output
4
Limits
Time: 2s · Memory: 256 MB