Skip to content
New issue

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

Sqrt(x) #107

Open
Sonia312 opened this issue Oct 1, 2023 · 7 comments
Open

Sqrt(x) #107

Sonia312 opened this issue Oct 1, 2023 · 7 comments

Comments

@Sonia312
Copy link
Collaborator

Sonia312 commented Oct 1, 2023

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.

@Snowfall22
Copy link

Hi, would like to take this up.

@abhinavs05
Copy link

Hey, would like to work on this.

@Ashani-Sansala
Copy link

can you assign me this issue ?

@Subhashini014
Copy link

Could you please assign me this issue I would be very thankful to you if you assign me this issue

@K-Saniya
Copy link

K-Saniya commented Oct 8, 2023

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!

@hitali-khachane
Copy link
Contributor

Can u please Assign me this issue
C number-UCE2021434
Name-Hitali Khachane
[hitali.khachane@cumminscollege.in]
Cummins college of engineering pune

@Pankaj4152
Copy link

Can you please assign this to me?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment