Skip to content

ShubhamKJ123/Missionaries-Cannibals-PUZZLE-In-Artifical-Intelligence

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MISSIONARIES CANNIBALS PUZZLE - ARTIFICIAL INTELLIGENCE

  • Write a program that solves the following problem using Golang:

Three missionaries and three cannibals come to a river and find a boat that holds two people. Everyone must get across the river to continue on the journey. However, if the cannibals ever outnumber the missionaries on either bank, the missionaries will be eaten. Find a series of crossings that will get everyone safely to the other side of the river.

Reference Links

https://runestone.academy/runestone/books/published/pythonds/Graphs/toctree.html

Releases

No releases published

Packages

No packages published

Languages