- SHOW_SCHEDULE(START_CITY, START_STATE , HOURS)
This function looks at the current set of campaign stops that is stored in the system to create a schedule for the candidate. The schedule includes a subset of the current set of stored campaign stops and the route information between these campaign stops. The schedule must include the maximum number of campaign stops that can be accommodated within a given number of hours. START_CITY, START_STATE together denote the first city in the schedule. HOURS denote the number of hours for which the schedule is being made.
What will be the best algorithm for this function??