TheAlgorithms/Java

[FEATURE REQUEST] <Calculate the square root of x using the bisection method>

yuluo-yx opened this issue · 2 comments

What would you like to Propose?

Calculate the square root of x using the bisection method

Issue details

Example 1:

  • Input: x = 4
  • Output: 2

Example 2:

  • Input: x = 8
  • Output: 2
  • Explanation: The arithmetic square root of 8 is 2.82842..., since the return type is an integer, the decimal part will be rounded off.

Additional Information

No response

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Please reopen this issue once you add more information and updates here. If this is not the case and you need some help, feel free to seek help from our Gitter or ping one of the reviewers. Thank you for your contributions!