(i) Eight doctors P, Q, R, S, T, U, V and W visit a charitable dispensary every day except on a holiday i.e. Monday.
(ii) Each doctor visits for one hour from Tuesday and Sunday except Saturday. The timings are 9 a.m. to 1 p.m. and 2 p.m. to 6 p.m.; 1 p.m. to 2 p.m. is lunch break.
(iii) On Saturday, it is open only in the morning i.e. 9 a.m. to 1 p.m. and each doctor visits for only half an hour.
(iv) No other doctor visits the dispensary before doctor Q and after doctor U.
(v) Doctor W comes immediately after lunch break and is followed by R.
(vi) S comes in the same order as P in the afternoon session.
At what time the visit of doctor R is over on Sunday ?
We first form the sequence of visit using (iv), (v) and (vi).
From (iv), we know that Q visits first and U visits last.
From (v), we know that W visits first after break and is followed by R.
From (vi), we know that P visits after break.
Thus, the sequence of visit after break becomes W R P U.
Also, S has the same position in morning session as P in afternoon session. So, sequence of visit before break is Q, T / V, S, V / T.
The time of visit of W is 2 p.m. to 3 p.m., that of doctor R is 3 p.m. to 4 p.m.
So, the visit of doctor R is over at 4 p.m.