Write isqrt(n) returning the largest integer whose square is ≤ n, using a while loop (no **0.5, no math).
isqrt(n)
while
**0.5
math
isqrt(17) → 4
isqrt(0) → 0
Submit runs 5 tests, including hidden edge cases.
Run your code to see the output here.