We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
The problem's explanation is not clear. I am not an english speaker and the bullet points were not clear enough for me.
Can that be improved?
Suggested explanation is bellow:
In the Gregorian calendar three criteria must be taken into account to identify leap years
The year can be evenly divided by 4;
If the year can be evenly divided by 100, then it is not a leap year
The year is also evenly divisible by 400 then it is a leap year.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Write a function
You are viewing a single comment's thread. Return to all comments →
The problem's explanation is not clear. I am not an english speaker and the bullet points were not clear enough for me.
Can that be improved?
Suggested explanation is bellow:
In the Gregorian calendar three criteria must be taken into account to identify leap years