news | March 25, 2026

Grass Goat And Tiger Puzzle

Grass Goat And Tiger Puzzle

Cross the river with lions, goats and greens.

Suppose you are a farmer and you want to transport 3 goods across a river, from bank A to bank B. There are three: a lion, a goat and a (tied) Gr. From the disease:

You can only move one item at a time in each direction.

The lion will not eat you. But as we know, the lion will eat the goat or the goat will eat the gr if it is left alone on the shore.

You must complete a minimum number of transfers.

Change the number of visits using your logic.

Leave the lion and the fish on one side of the river and the goat on the other. (First trip)

Back to the other side (second trip)

Take the lion and catch the goat (third walk)

Take the goat through (fourth tour), release the goat and take Gr to the lion (5th tour) then go back through (sixth tour) to get the goat.

Take the goat to the other side (seventh journey)

River and lion

First trip: Cross the goat. The lion eats gr. Second walk: To cross the Gr, but take the goat with you on return. The third journey across the lion. The lion eats Gr. The fourth journey: the goats that pass. The three elements are now across the river. The fourth journey by goats. Now the three elements are on the other side of the river.

7 visits

Bring the goat to B, come back alone

Bring the lion to B, bring the goat back to A

Take B's credit, come back alone

And finally bring the goat to B.

In this way all the items are delivered one by one and nothing is left with the food.

Can someone give me the code for this program?

Grass Goat And Tiger Puzzle