Problem Description

 

        For example, a patient's time schedule is shown below:

                                 Figure 2: Patient's time schedule

 

       Which means, the patient can (and only) be served by the nurse during 10:10am and 10:40am .

 

      Likewise, a nurse's time schedule is shown below:

                                 Figure 3: Nurse's time schedule

 

       which means, the nurse can only work during 8:00am and 12:00pm or 1:00pm and 6:00pm