The primary reason for this post is because of the AI Mid Semester Exam, where we are asked to solve the famous puzzle called the
Missionaries & Cannibals. The problem has a solution requiring a minimum of 11 moves, try solving it, using its flash implementation. Fortunately, I's able to reach the solution in reasonable amount of time since I played this flash puzzle long ago, during my school days. Hope this visual will help you to find the solution before trying it on a pen and paper.
Note: A move is counted each time the boat is ferried across either ends and the boat cannot ferry while it is empty.
P.S. Please disable your pop-up blocker.
Read more...