Recording Episodes | HackerRank
Given schedules for each season of Dave's favorite show, find the maximum number of consecutive episodes he can record from each season.