Friday, June 28, 2013

Camel and Bananas (MFD 2 P3)

"Question: The owner of a banana plantation has a camel. He wants to transport his 3000 bananas to the market, which is located after the desert. The distance between his banana plantation and the market is about 1000 kilometer. So he decided to take his camel to carry the bananas. The camel can carry at the maximum of 1000 bananas at a time, and it eats one banana for every kilometer it travels. What is the largest number of bananas that can be delivered to the market?" Found here:   http://www.mytechinterviews.com/challenge-camel-and-bananas

The solution is in the link above.

No comments:

Post a Comment