missionaries and cannibals problem and solution implemented using DFS,BFS and bidirectional BFS.
Missionaries and cannibals problem and solution implemented using DFS,BFS and bidirectional BFS.
For more info go to https://en.wikipedia.org/wiki/Missionaries_and_cannibals_problem.