You have a boat and need to take a fox, a chicken and some corn across a river.
The boat will only hold you and one other thing.
If you leave the chicken alone with the corn, the chicken will eat the corn.
If you leave the fox alone with the chicken, the chicken's in big trouble.
How can you get them all across in the least amount of trips possible?
1/ take a chicken across the river, leave it there and return
2/ take a fox across the river, leave it there, take a chicken and return
3/ leave a chicken on the opposite side from a fox, and take the corn across the river and return
4/ finally, take a chicken under your arm and take it over the river.
Take the fox to the other side, the corn, and then the chicken. The fox won't eat the corn.
1/ take a chicken across the river, leave it there and return
2/ take a fox across the river, leave it there, take a chicken and return
3/ leave a chicken on the opposite side from a fox, and take the corn across the river and return
4/ finally, take a chicken under your arm and take it over the river.