# 3 Mislabeled Jar of Fruits

## Solve the 3 Mislabeled Jar of Fruits

In this problem, there are mislabeled three jars, where one Jar contains apples, one contains oranges and the third one contains the mixture of both. In how many minimum number of withdrawals one can label the jars correctly.

## Solution

• Let’s take a scenario. Suppose you pick from jar labelled as Apple and Oranges and you got Apple from it. That means that jar should be Apple as it is incorrectly labelled. So it has to be Apple jar.
• Now the jar labelled Oranges has to be Mixed as it cannot be the Oranges jar as they are wrongly labelled and the jar labelled Apple has to be Oranges.

Similar scenario applies if it’s a Oranges taken out from the jar labelled as Apple and Oranges. So you need to pick just one fruit from the jar labelled as Apple and Oranges to correctly label the jars.

### Related Banners

Get PrepInsta Prime & get Access to all 200+ courses offered by PrepInsta in One Subscription

## Get over 200+ course One Subscription

Courses like AI/ML, Cloud Computing, Ethical Hacking, C, C++, Java, Python, DSA (All Languages), Competitive Coding (All Languages), TCS, Infosys, Wipro, Amazon, DBMS, SQL and others

## Checkout list of all the video courses in PrepInsta Prime Subscription

• Crossing the Bridge Puzzle
• Death & Marbles Puzzle
• Airplane Seat Puzzle
• 2 Eggs & 100 Floors Puzzle