One man is trying to cross the desert to reach the neighboring village. It takes 4 days to get there, but his camel can carry bananas which will feed him for 3 days only. How can the man reach the neighboring village without starving?
The man travels one day, leaves one portion of bananas in the desert and returns back to his village. Then he leaves again with 3 new portions of bananas, picks the portion left in the desert on his way and ends up in the neighboring village on the sixth day.