integerSquareRoot
The integer square root of a non-negative integer n, denoted as isqrt(n) or sometimes by a floor symbol, is the largest integer m such that m * m <= n. In other words, it is the floor of the true square root of n. For example, isqrt(10) is 3 because 3 * 3 = 9, which is less than or equal to 10, while 4 * 4 = 16, which is greater than 10. The integer square root is always a non-negative integer.
Calculating the integer square root is a fundamental operation in computer science and number theory. Various
Another approach is using Newton's method, adapted for integers. This iterative method converges quickly to the