Leetcode 69. Sqrt(x)
Compute the integer square root: for a non-negative integer x (0 ≤ x ≤ 2^31-1), return floor(sqrt(x)) without using built-in exponent functions — typically solved via binary search or Newton's method.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
0
Hello Interview Premium
Your account is free and you can post anonymously if you choose.