Interview Preparation Exam  >  Interview Preparation Notes  >  Puzzles for Interview  >  Farmer, Goat, Wolf and Cabbage

Farmer, Goat, Wolf and Cabbage | Puzzles for Interview - Interview Preparation PDF Download

Introduction 

The farmer wants to cross the river with his goat, wolf, and cabbage but there is only one boat available which can support only two objects at a time. Moreover, he cannot leave the goat and wolf alone or the wolf will eat the goat, and he cannot leave the goat and cabbage alone or the goat will eat the cabbage. So, what is the solution to this problem?

Problem Statement

How the Farmer Can Cross the River with His Belongings?

Solution

Step 1: Taking the goat on the other side
The farmer will take the goat on the other side and return back alone. So, on one side, we have the farmer, wolf, and cabbage, and on the other side, we have the goat.

Step 2: Taking the wolf on the other side
Next, he will take the wolf along, drop him on the other side, and return with the goat. So, on one side, we have the farmer, cabbage, and goat, and on the other side, we have the wolf.

Step 3: Taking the cabbage on the other side

Now, he takes the cabbage along and returns alone. So, on one side, we have the farmer and goat, and on the other side, we have the wolf and cabbage.

Step 4: Taking the goat on the other side
Finally, he crosses the river with the goat and succeeds in taking all his belongings with him.

Conclusion

The farmer successfully crossed the river with all his belongings by taking them one by one, ensuring that no two objects that cannot be left alone together are left on one side.

The document Farmer, Goat, Wolf and Cabbage | Puzzles for Interview - Interview Preparation is a part of the Interview Preparation Course Puzzles for Interview.
All you need of Interview Preparation at this link: Interview Preparation
109 docs

Top Courses for Interview Preparation

Explore Courses for Interview Preparation exam

Top Courses for Interview Preparation

Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev
Related Searches

shortcuts and tricks

,

Viva Questions

,

Semester Notes

,

Goat

,

mock tests for examination

,

video lectures

,

MCQs

,

Previous Year Questions with Solutions

,

Exam

,

Important questions

,

pdf

,

Sample Paper

,

Wolf and Cabbage | Puzzles for Interview - Interview Preparation

,

Farmer

,

study material

,

ppt

,

Objective type Questions

,

Free

,

Wolf and Cabbage | Puzzles for Interview - Interview Preparation

,

Goat

,

practice quizzes

,

Goat

,

Farmer

,

Summary

,

Farmer

,

Extra Questions

,

Wolf and Cabbage | Puzzles for Interview - Interview Preparation

,

past year papers

;