Search
⌘K

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.

Comments

Your account is free and you can post anonymously if you choose.