There are five rooms in a row which are numbered as 1,2,3,4,5.
One night Fariha was sleeping in one of them.
Suddenly she woke up.
Then she went outside.
She saw a person walking along along the corridor.
Then she came back, and closed her door.
Suddenly she felt strange!!
So she went outside again , but found none.
Now the person must enter inside a room.
But could Fariha find out the exact room ,where he entered, in minimal steps?
If a person enters into a room, it’s adjacent neighbors could hear the noise of the door’s opening/closing!!
All the room must have a person.
And at least one of them always speak the false!
Fariha could only ask one question:
Did u hear something?
And all of them can only say in reply:
Yes/No
View Solution
Submit Solution