## What is the maximum number of weekdays in a year? How would you code it?

The maximum number of days in a year is 366, this gives us 52 full weeks. In those 52 weeks there are at least 52 * 5 = 260 weekdays. We are left with 2 days (52 * 7 = 364), it is possible that these 2 days are weekdays. So maximum number of weekdays …