We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Write code in the preferred language and attach output with it.
Given a non-negative integer x, 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.
For example, do not use pow(x, 0.5) in c++ or x ** 0.5 in python.
Example 1:
Input: x = 4 Output: 2 Explanation: The square root of 4 is 2, so we return 2.
Example 2:
Input: x = 8 Output: 2 Explanation: The square root of 8 is 2.82842..., and since we round it down to the nearest integer, 2 is returned.
The text was updated successfully, but these errors were encountered:
Hi, would like to take this up.
Sorry, something went wrong.
Hey, would like to work on this.
can you assign me this issue ?
Could you please assign me this issue I would be very thankful to you if you assign me this issue
Hello !! I am Saniya from Cummins college in 2nd year computer department . I am interested in working on this issue. please assign it to me .thanks!
Can u please Assign me this issue C number-UCE2021434 Name-Hitali Khachane [[email protected]] Cummins college of engineering pune
Can you please assign this to me?
hitali-khachane
K-Saniya
No branches or pull requests
Write code in the preferred language and attach output with it.
Given a non-negative integer x, 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.
For example, do not use pow(x, 0.5) in c++ or x ** 0.5 in python.
Example 1:
Input: x = 4
Output: 2
Explanation: The square root of 4 is 2, so we return 2.
Example 2:
Input: x = 8
Output: 2
Explanation: The square root of 8 is 2.82842..., and since we round it down to the nearest integer, 2 is returned.
The text was updated successfully, but these errors were encountered: