InsideOut

Bring your inside out...

My Photo
Name:
Location: Pune, Bangalore, India

I like doing things in new ways... music... touring... swimming... teaching...mathematics...

Sunday, January 02, 2005

Returned back to Pune

The return journey wasn't that interesting. Yeah...You guessed it right! The students were still on vacation!

I was jam-packed with winter clothes when I left Kanpur (my hometown, read previous blogs for knowing more about Kanpur!) as it was terribly cold there (almost melting your bones)!

The train was late due to fog, by few hours! It got more and more as it approached Pune. It was really frustrating, until I heard a voice. It was, in fact, a puzzle asked by someone to little kids. The voice dragged me to him. He was a professor in Computer Science at some college affiliated to the University of Delhi. The puzzle was interesting, easy though. He told me, 'you can write a computer program simulating the solution, like you might have done for the Tower of Hanoi problem'.

I know, you are eager to hear the puzzle! Here is it:
There is a group of 3 monks and 3 cannibals. They are all on the bank of a river with a wish to cross it.

But argh! There is only one boat and it's so small that it can carry only two persons(at most) at a time.

Also there's is another condition - that is, at any time or place, in a group the number of monks should not be less than that of the cannibals, else the monks will be eaten up by the cannibals. Now work out a solution to fulfill their wish to cross the river!


If you want to send your soluion, please do it here through the comments and not through the e-mail. You may post your comment as 'anonymous', if
1. you don't want to disclose yourself or
2. if you are lazy enough to create your account in www.bloggers.com

I reached Pune on Monday, December 27, 2004 (at about 7:15 pm), the very next day the Tsunami debacle occured!

From flashback

3 Comments:

Anonymous Anonymous said...

if there are two equal number of monks and cannibals in a group will the monks be eaten?

5:14 PM  
Anonymous Anonymous said...

delete(two) in the above comment

- if there are equal number of monks and cannibals in a group will the monks be eaten?

5:15 PM  
Blogger Sujeet Banerjee said...

No.

6:44 PM  

Post a Comment

<< Home