Skip to content
Get started

Camel, bananas and a 1000 km desert

HardBrainteasers8 min

You have 4000 bananas at the edge of a desert and want to deliver as many as possible to a market 1000 km away. Your camel carries at most 1000 bananas at a time and eats 1 banana per kilometre it walks, loaded or not (treat bananas as divisible, so the camel can eat fractions). You may leave depots of bananas anywhere along the way. What is the maximum number of bananas that can arrive at the market? (two decimals)

Show hints (2)+
  1. How many bananas does it cost to move 4000 bananas forward 1 km, given the 1000-banana capacity?
  2. The cost per km drops each time the stock falls to a multiple of 1000. Where does that happen?

Answer

Reveal answer →

676.19 (± 0.05)

Create a free account to see the full worked solution and track your progress.

Interview format: Hedge Fund Quant, Betting Game Rounds

Related questions