Sunday, November 27, 2011

Hungry Camel

Source: Bhuesh Bhargav,Algo embedded systems

Problem:
Lukas have a banana plantation and 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 Lucas can deliver at the market?????

No comments:

Post a Comment