A farmer has a cabbage, a goat, and a lion. He needs to get all three of them across a river, but there is only enough room in his boat for one at a time as well as himself. If he leaves the goat and the cabbage together on one shore, the goat will eat the cabbage. If he leaves the lion with the goat, the lion will eat the goat.
He can take them to and from either shore as many times as he needs.
If he wants to get all three of them across to the other side, what animal should he take first?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
First , take the g o a t to the other side of the river.
Then, take the lion to other side of the river and again take back the goat.
Then, take the cabbage to the other side of the river.
Finally, take the goat to the other side of the river.
In this way all of them will be safe.