در این ویدیو عمیقاً به الگوریتمها و روشهای مختلفی میپردازیم که میتوانید با آنها «سال کبیسه» را حل کنید؛ جرمی و اریک در Exercism راهحلهای جامعه را در ۱۰ زبان مختلف بررسی میکنند.
A leap year (in the Gregorian calendar) occurs:
Some examples:
For a delightful, four-minute explanation of the whole phenomenon of leap years, check out this YouTube video.
Your task is to determine whether a given year is a leap year.
هنوز آن را در هیچ زبانی تکمیل نکردهاید.