Four companies C1, C2, C3, C4 must interview candidates P, Q, R, S over four time slots (T1--T4).
Each candidate gets one unique slot and each company interviews exactly one candidate per slot.
Constraints:
1. P cannot be interviewed by C1 or C3.
2. Q must be interviewed in either T1 or T4.
3. R must be interviewed before S.
4. C4 only interviews in T2 or T3.
5. No company interviews the same candidate as last year:
(C1--P), (C2--Q), (C3--R), (C4--S).
How many valid interview schedules are possible?