Content-Length: 259252 | pFad | http://github.com/trasherdk/algorithms-javascript/commit/b85bf49a35a7d89e9e1614a26f91ce2f28df42b3

31 merge: Fixed a wrong sentence structure (#952) · trasherdk/algorithms-javascript@b85bf49 · GitHub
Skip to content

Commit b85bf49

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 parent 81c771b commit b85bf49

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 400 but not divisible by 100 and divisible by 4 then a leap year.
10+
* 3. If the year is not divisible by both 400 and 100 but 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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/trasherdk/algorithms-javascript/commit/b85bf49a35a7d89e9e1614a26f91ce2f28df42b3

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy