Movatterモバイル変換


[0]ホーム

URL:


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

Commitb85bf49

Browse files
authored
merge: Fixed a wrong sentence structure (TheAlgorithms#952)
* Fixed a typo where the commenting was wrong* optimised code* fixed a sentence structure* changed the sentence structure* updated pull request* Update SetBit.js
1 parent81c771b commitb85bf49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎Maths/LeapYear.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* The logic behind the leap year is-
88
* 1. If the year is divisible by 400 then it is a leap year.
99
* 2. If it is not divisible by 400 but divisible by 100 then it is not a leap year.
10-
* 3. If the year is not divisible by 400but not divisible by100and divisible by 4 then a leap year.
10+
* 3. If the year is not divisible byboth400and100but divisible by 4 then a leap year.
1111
* 4. Other cases except the describing ones are not a leap year.
1212
*
1313
*@param {number} year

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp