Old 11-21-2016, 03:18 AM
CodeGroundOnlineTests CodeGroundOnlineTests is offline
Junior Member
Join Date: Nov 2016
Posts: 8
Default Cannibals and missionaries puzzle

Hi All,

I found this interesting puzzle - Three missionaries and three cannibals must cross a river. There is a single boat which can carry a maximum of two people and there must be at least one person on board (the boat cannot cross by itself).

On either bank, if there are missionaries present, the count of missionaries must be equal or greater than the count of cannibals, else the cannibals would eat them.

This is a classic example of a puzzle that can be solved using state transition diagrams.

The solution to this puzzle is detailed in this blog post: https://codeground.in/blog/index.php...and-cannibals/
Was this useful? If you’re interested, you can read more about more such puzzles for Tech Interviews ( https://codeground.in/blog/index.php...tions-puzzles/ )or you can take do some online programming challenges ( https://codeground.in/screening-test...-contests.html )
Reply With Quote

general, puzzle

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

All times are GMT. The time now is 06:41 AM.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.

About Puzzle Baron

The Puzzle Baron family of web sites has served millions and millions of puzzle enthusiasts since its inception in 2006. From cryptograms to acrostics, logic puzzles to drop quotes, patchwords to wordtwist and even sudoku, we run the gamut in word puzzles, printable puzzles and logic games.