Time to Cross the River Again
Puzzle 1
Aid the Women: In that location is a mother who wishes to cross a river but she is not alone. She also has 5 daughters of age 6, 7, 8, ix and x. There is but one boat bachelor which can support the woman and either two of the daughters. And so at a time, the gunkhole can have only three objects (woman and two other). But the problem is that when the mother is absent, daughters with 1 year difference in age volition fight each other. (For case:- When the female parent is absent and has taken the daughter of age half-dozen and viii with her, then the daughters of historic period 9 and 10 volition fight each other. Similarly, if the mother has taken 6 and 7 with her, so daughters of historic period 8 and 9 will fight with each other.) The woman wants to cross the river with all her daughters. Only the mother tin can ride the gunkhole. What strategy she should utilize to do and then?
Solution :
- Step 1: Firstly,mother will take daughters of historic period 7 and 9 with her.
- Step two: She will leave the daughters and return.
- Footstep iii: Then she will take daughters of historic period half-dozen and viii with her.
- Step 4: She will leave daughters of age 6 and 8 to the other side and have the daughters of age seven and 9 with her.
- Step v: Again she will leave daughters of age 7 and nine and take the daughter of age 10 with her.
- Step 6: She will leave girl of age 10 to the other side and return alone.
- Stride vii: Finally she has taken the daughters of age 7 and 9 with her.
Now, finally, she crosses the river with all daughters.
Puzzle 2
Cantankerous the River : There is a homo who wishes to cross a river but he is not alone. He also has a domestic dog, two tigers and 2 elephants along with him. There is only one boat available which tin support the man and either 1 of the animal. So at a time, the gunkhole can have only two objects (man and one other). But the problem is, if the tiger and domestic dog are left alone (either in the boat or onshore), the tiger volition eat the dog. Similarly, if the 2 tigers and ane elephant are left alone, and so 2 tigers will eat the elephant. The human being wants to cross the river with all the belongings. What strategy should he utilise to do so?
Solution :
Stride one:- Starting time the human will take the dog to the other side and render. (1 side = Dog, Other side = ii tigers and 2 elephants)
Step 2:- He will take 1 tiger with him and return with dog.
Step iii:- He volition go out the dog and take another tiger with him and move to the other side.
Step 4:- He will accept one elephant with him and render by taking one tiger with him.
Step 5:- He will take the domestic dog with him and go to the other side. So he will leave the dog to the other side and
return by taking some other tiger with him.
Footstep 6:- He volition leave the tiger and take the elephant with him and return alone.
Step 7:- He will take one tiger with him, leave it there and render with the dog.
Step 8:- He will accept another tiger with him and return alone.
Stride 9:- Finally, he will taken the dog with him.
This article is contributed by Roshni Agarwal. If you similar GeeksforGeeks and would similar to contribute, you tin can too write an article using contribute.geeksforgeeks.org or mail your commodity to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks principal page and assistance other Geeks.
Delight write comments if you lot detect anything incorrect, or y'all desire to share more data virtually the topic discussed in a higher place.
zimmermansumanducke.blogspot.com
Source: https://www.geeksforgeeks.org/puzzle-help-women-cross-river/
0 Response to "Time to Cross the River Again"
Enregistrer un commentaire