Three missionaries meet three hungry cannibals at the edge of a river. Next to them is a boat that can take a maximum of two people. They must find a sequence of crossings that allow both them and the cannibals to cross the river safely. ● The boat can not cross the river empty. ● At no time should more cannibals than missionaries be left on one of the banks of the river, for if that happened, the missionaries would perish in the jaws of the hungry cannibals.
-
Notifications
You must be signed in to change notification settings - Fork 0
jplicona/Missionaries-Cannibals_problem
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published