Example 10: Combined scheduling
Last Updated On: Sat Aug 29 2026Clues
- Four tasks P, Q, R, and S are scheduled from 9 AM to 12 PM, one per hour.
- P is scheduled before Q.
- R is scheduled immediately after P.
- S is at 12 PM.
Question
At what time is P scheduled?
Answer
P is scheduled at 9 AM.
Solution
- S is fixed at 12 PM.
- P-R is a consecutive block, with Q after P.
- P cannot be 10 AM because Q would need the 12 PM slot, which is occupied by S.
- Therefore P is at 9 AM, R is at 10 AM, and Q is at 11 AM.
PreviousShowing 11 / 11