Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b77a8ea

Browse files
[UPDATE] 8 kyu | Find Nearest square number
1 parent 1f69b40 commit b77a8ea

File tree

1 file changed

+2
-0
lines changed
  • src/main/java/kyu8/findNearestSquareNumber

1 file changed

+2
-0
lines changed

‎src/main/java/kyu8/findNearestSquareNumber/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# Find Nearest square number
2+
13
Your task is to find the nearest square number, `nearest_sq(n)` or `nearestSq(n)`, of a positive integer n.
24

35
For example, if `n = 111`, then `nearest\_sq(n)` (`nearestSq(n)`) equals 121, since 111 is closer to 121, the square of 11,

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /