Problem 2524. weekday and month

Created by rifat in Community

Given a year and a weekday, determine how many months of that year had five of those weekdays. It is kind of easy to find.


y = 2014
d = 'Sun'
result = 4

Solution Stats

79.17% Correct | 20.83% Incorrect
Last solution submitted on Jan 31, 2019

Solution Comments