InterviewBit Problems   Monkeys and Doors : Solved