Given a set of birthdays ranges for each person i.e.
January 1-5 January 2-6 January 14-26
Find the minimum and maximum number of distinct birthdays
How would I go about solving this?