All Exams Test series for 1 year @ ₹349 only
Question

A boatman on a bank of a river has to carry a dog, a cat and a container full of milk to the other bank in a boat, one at a time. The cat cannot be left alone with the milk or with the dog on either bank. What is the minimum number of times the boatman has to cross the river to carry all to the other bank?

The correct answer is
7

River Crossing Puzzle Solution

This is a classic river crossing puzzle. The goal is to move a boatman, a dog, a cat, and a container of milk to the other side of a river. The boat can only carry the boatman and one other item per trip. The key constraints are that the cat cannot be left alone with the dog, nor alone with the milk, on either river bank.

Constraints Analysis

  • Boatman must operate the boat.
  • Boat capacity: Boatman + 1 item.
  • Constraint 1: Cat (C) and Dog (D) cannot be left alone together.
  • Constraint 2: Cat (C) and Milk (M) cannot be left alone together.

Step-by-Step Solution

We denote the starting bank as Bank 1 and the destination bank as Bank 2. The items are Boatman (B), Dog (D), Cat (C), and Milk (M).

  1. Trip 1: B takes C across (Bank 1 → Bank 2).
    • Status: Bank 1 = {D, M} (Safe) | Bank 2 = {B, C}
  2. Trip 2: B returns alone (Bank 2 → Bank 1).
    • Status: Bank 1 = {B, D, M} | Bank 2 = {C} (Safe)
  3. Trip 3: B takes D across (Bank 1 → Bank 2).
    • Status: Bank 1 = {M} (Safe) | Bank 2 = {B, C, D} (Safe as B is present)
  4. Trip 4: B returns with C (Bank 2 → Bank 1). This step is crucial to prevent C and D being left alone.
    • Status: Bank 1 = {B, C, M} (Safe as B is present) | Bank 2 = {D} (Safe)
  5. Trip 5: B takes M across (Bank 1 → Bank 2).
    • Status: Bank 1 = {C} (Safe) | Bank 2 = {B, D, M} (Safe)
  6. Trip 6: B returns alone (Bank 2 → Bank 1).
    • Status: Bank 1 = {B, C} | Bank 2 = {D, M} (Safe)
  7. Trip 7: B takes C across (Bank 1 → Bank 2).
    • Status: Bank 1 = {} | Bank 2 = {B, D, M, C} (All items successfully transported)

Conclusion

Following these steps ensures all constraints are met at every stage. The minimum number of crossings required is 7.

Was this answer helpful?

Important Questions from Puzzle (Notes)

  1. Four individuals - P, Q, R and S - are suspects in a theft case. They make the following statements :
    P says: "Q is guilty."
    Q says: "R is guilty."
    R says: "P is innocent."
    S says: "I am innocent"
    If it is known that exactly one of them is guilty, and only the guilty person lies (all innocent people tell the truth), then who is the guilty one?
  2. There are five men - A, B, C, D and E, six women P, Q, R, S, T and Z. A, B, and R are advocates. S, Q, P, D and C are doctors and the rest are teachers. A team has to be selected from these eleven persons subject to the following conditions:
    (I) A, P and Z have to be together.
    (II) B cannot go with D or R.
    (III) E and Q have to be together.
    (IV) C and T have to be together.
    (V) D and P cannot go together.
    (VI) C cannot go with Q.
    If the team formed consists of two male advocates, two lady doctors and one teacher, the members of the team can be:
  3. Read the following informations and answer the question given below :
    A total of nine cards consisting of four kings, four queens and one joker are distributed among three persons P, Q and R such as :
    I. Q has two cards, P has three cards and R has four cards.
    II. Person, who has maximum number of cards, does not have the joker.
    III. Each one has atleast one king while Q has two kings.
    Who has three queens ?
  4. Consider the following information regarding a 3-digit PIN.

    The correct PIN is

  5. How many minimum number of times water must be poured from a fully filled vessel of 12 litre capacity to an empty vessel of 8 litre capacity to transfer 6 litres of water while an empty vessel of 5 litre capacity is also available for use?
Need Expert Advice?

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App