One of the most interesting courses that we took up in the first semester of IIIT was DMA alias Discrete Maths and Algorithms. The course contained a lot of analytical stuff. As usual, Me and Maddy would postpone all the assignments to the last-minute. We would begin writing assignments one hour before the class. The instructions on the assignment question paper would be very clear. “Each question carries 5 marks. The answers should not exceed one A4 size sheet. Maximum marks 20”. Writing a single A4 size sheet would not take more than 5 minutes but solving Dr. Gupta’s assignment would take not less than two hours (If all the four questions were easy). His examinations were not easy either. We would just sit and stare in the exam hall trying hard to figure out the answers.
In one of his classes Dr. Gupta asked an interesting puzzle. The puzzle was:
“There is a village where the people are divided into two groups. One group of people speak truth always and the other group lie always. There is a pond in the village and you are supposed to find the pond. You reach a place where there are two paths, one heading left and the other heading right. You find a person there. How will you find your way to the pond by asking only one question to the villager?”
There was silence in the room. There were about 120 students in his class, and none of them could solve this puzzle. Finally, Dr.Gupta gave the answer. To find the pond in the village you would ask the villager “If I were to ask you the question whether the pond is towards left, then will you answer YES???”