A hospital has 16 isolation rooms.each room has a patient with a different illness .patient in room 13 recovers and wants to say goodbye to each patients. he can only visit each patient once. if he visit a patient twice he becomes ill again. how does he do this and exit from room 4?
Answers
➢ Question (nice question) :
A hospital has 16 isolation rooms.each room has a patient with a different illness .patient in room 13 recovers and wants to say goodbye to each patients. he can only visit each patient once. if he visit a patient twice he becomes ill again. how does he do this and exit from room 4?
➢ Answer :
We are given,
⇝ Person in the room 13 can only visit other rooms only once.
⇝ At the same time, he also has to get out through room 4 (after visiting all other patients).
_______________________________
∴ The only way he can get out (by following the given conditions) would be to follow the pattern given below :
13 – 9 – 13 – 14 – 15 – 16 – 12 – 11 – 10 – 6 – 5 – 1 – 2 – 3 – 7 – 8 – 4 – Out.
Hence, the recovered patient is now able to meet all other patients (once) and at the same time get out through room no. 4 (without becoming ill again).