leetle

Daily challenge for 2026-05-07

492. Find the Square Root Floor

Given a non-negative integer x, compute and return the square root of x rounded down to the nearest integer. The returned integer should be non-negative as well. You must not use any built-in exponent function or operator.

Example:
Input: x = 8
Output: 2

Run this challenge interactively in Python or JavaScript when the app loads.