Skip to content
Nguyen Thuy Vy

My personal site.

  • Home
  • About
  • Bookmark

Tag Archive

2 Entries in: River crossing puzzle

[Prolog] Missionaries and Cannibals – M Missionaries & C Cannibals & Boat carries N passengers version

Vy NguyenJanuary 19, 2016
Snippet
no comment
In the missionaries and cannibals problem, three missionaries and three cannibals must cross a river using a boat which can carry at most two people, under the constraint that, for both banks, if there are missionaries present on the bank, they cannot be outnumbered by cannibals (if they were, the cannibals would eat the missionaries). [...]
Read More

[Prolog] The Three Jealous Men and Their Wives

Vy NguyenJanuary 15, 2016
Snippet
4 comments
Three men, travelling with their wives, came to a river which they wanted to cross. The one available boat would accomodate only two people. Since the husbands were very jealous, no woman could be with a man unless her own husband was present. Under these severe handicaps, how can they get across the river using [...]
Read More
Categories
  • Programming
    • Snippet
  • Study
    • Calculus
    • Linear Algebra
    • Machine Learning
    • Probability & Statistics
    • Short Notes
    • Todai Entrance Exam
  • Uncategorized
Recent Comments
  • Vy Nguyen on Cambridge IELTS 10, Test 1, Academic Writing Task 2
  • Vy Nguyen on Learning From Data – A Short Course: Exercise 5.1
  • Eugen Hotaj on Learning From Data – A Short Course: Exercise 5.1
  • Muzaffarjon on Cambridge IELTS 10, Test 1, Academic Writing Task 2
  • Hughie on [Prolog] The Three Jealous Men and Their Wives
© Nguyen Thuy Vy 2021. Windflaw designed by Loft.Ocean.