# Mislabeled Jars - Logical Interview Puzzle

Interview logical puzzles are a type of problem or challenge that is designed to test a person's critical thinking, problem-solving, and reasoning skills. These puzzles are commonly used in job interviews for positions that require analytical and problem-solving abilities, such as software development, data analysis, and management roles.

Puzzle Details - There are 3 mislabeled jars, with apples and oranges in the first and second jars respectively. The third jar contains a mixture of apples and oranges. You can pick as many fruits as required to precisely label each jar. Determine the minimum number of fruits to be picked up in the process of labeling the jars.

Solution

This is another tricky puzzle where you must really churn your brain. A noticeable aspect of this puzzle is the fact that there’s a circular misplacement, which implies if apple is wrongly labeled as Apple, Apple can’t be labeled as Orange, i.e., it has to be labeled as A+O. We are acquainted with the fact that everything is wrongly placed, which means the A+O jar contains either Apple or an Orange (but not both). The candidate picks one fruit from A+O, and let’s assume he gets an apple. He labels the jar as apple, however, the jar labeled Apple can’t have A+O. Thus, the third jar left in the process should be labeled A+O. Basically, picking only one fruit helps in correctly labeling the jars.

More simplification

Let’s take a scenario. Suppose you pick from a jar labeled as Apple and Oranges and you got Apple from it. That means that the jar should be Apple as it is incorrectly labeled. So it has to be an Apple jar.

Now the jar labeled Oranges has to be Mixed as it cannot be the Oranges jar as they are wrongly labeled and the jar labeled Apple has to be Oranges.

A similar scenario applies if it’s an Orange taken out from the jar labeled as Apple and Oranges. So you need to pick just one fruit from the jar labeled as Apple and Oranges to correctly label the jars.

Watch the below video for the detailed explanation