Interview Preparation Exam  >  Interview Preparation Notes  >  Puzzles for Interview  >  Find the last ball to remain after the entire process

Find the last ball to remain after the entire process | Puzzles for Interview - Interview Preparation PDF Download

Problem Statement

In this puzzle, you have a bag with 20 red and 16 blue balls. You have to pull out two balls at a time, and if they are of the same color, you replace them with a blue ball. However, if they are of different colors, you replace them with a red ball. Once you take out the balls, you don't put them back in the bag, so the number of balls in the bag keeps decreasing. The question is, what color will be the last ball remaining in the bag?

Observations

To solve this puzzle, we need to make some observations. First, blue balls can only be reduced by two at a time, and only if you choose two blue balls. In no other way can you reduce the number of blue balls. On the other hand, red balls can be reduced by one in two situations: if you choose two different balls, or if you choose two red balls.

Solution

Now, since there are an even number of blue balls in the bag, they can only be reduced by two at a time. Therefore, at any point during the replacement process, you will end up with either 0 or 2 or 4... (even number) blue balls in the bag. There will never be an odd number of blue balls in the bag.
As a result, no matter what combination of replacements you choose, the last ball in the bag will always be a red ball.

Conclusion

In conclusion, the last ball remaining in the bag will be a red ball, no matter what combination of replacements you choose. This puzzle helps us understand the concept of probability and how certain conditions can lead to specific outcomes.

The document Find the last ball to remain after the entire process | 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

Exam

,

practice quizzes

,

Objective type Questions

,

study material

,

pdf

,

shortcuts and tricks

,

video lectures

,

Sample Paper

,

Find the last ball to remain after the entire process | Puzzles for Interview - Interview Preparation

,

Find the last ball to remain after the entire process | Puzzles for Interview - Interview Preparation

,

Previous Year Questions with Solutions

,

mock tests for examination

,

ppt

,

Important questions

,

MCQs

,

Find the last ball to remain after the entire process | Puzzles for Interview - Interview Preparation

,

Summary

,

Viva Questions

,

Semester Notes

,

Extra Questions

,

Free

,

past year papers

;