Take the fox over, return with nothing. Go over with one chicken, return with the fox. Go over with the second chicken, return with nothing. Finally, take the fox over.
Or let:
Man = M
Fox = F
Chicken1 = C1
Chicken2 = C2
Man = M
Fox = F
Chicken1 = C1
Chicken2 = C2
This is how they cross the river:
- M,F →
- ← M
- M,C1 →
- ← M,F
- M,C2 →
- ← M
- M,F →
No comments:
Post a Comment