Camel and Bananas Puzzle

1,152.7K Views

The owner of a banana plantation has a camel. He wants to transport 3000 bananas to a 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.
Here’s what you have to find – What is the largest number of bananas that can be delivered to the market?

Share
Add Comment

  • 1 Answer(s)

    This solution is calculated programatically. I will highly appreciate if someone can provide mathematical explanation of the points calculated here.

      1. Initially 3000 bananas
        • 1st mile the camel carries 1000 bananas forward and eats 1, it eats 1 banana on the way back.
        • Again it carries 1000 bananas forward and eats 1, eats 1 going back.
        • 1000 bananas forward and eats 1.

        After 1 mile: (1000 – 1 – 1) + (1000 – 1 – 1) + (1000 – 1) = 2995 bananas left. So for every 1 mile camel eats 5 bananas. So the camel has to travel 200 miles, when the number of bananas left will be 3000 – 200*5 = 2000

      2. Now the camel has to make only 2 trips for every 1 mile
        • 1st mile the camel carries 1000 bananas forward and eats 1, it eats 1 banana on the way back.
        • 1000 bananas forward and eats 1.

        After 1 mile: (1000 – 1 – 1) + (1000 – 1) = 1997 bananas left. So for every 1 mile camel eats 3 bananas.
        So to consume next 1000 bananas, the camel has to travel 1000/3 = 333.33 miles.

      3. Now the camel is left with 1000 bananas at 200 + 333.33 = 533.33 miles mark. Now
        • The camel has to travel 1000 bananas forward and eat 1 per mile.
        • The camel still has to travel 1000 – 533.33 = 466.66 miles. So the camel is going to consume another 466.66 bananas.

    Therefore the final number of bananas left will be 1000 – 466.66 = 533.33 or 533 (who wants to eat a camel eaten banana anyway

    pnikam Expert Answered on 22nd August 2015.
    Add Comment
  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.
  • More puzzles to try-