Riddle: how to put an elephant in the refrigerator in 3 steps

The famous logical problem about how to put an elephant in the refrigeratorhas been an excellent test for creativity and thinking ability for many years non-standard. At first glance, the question seems absurd, because the dimensions of the animal and household appliances are absolutely incompatible. However, it is in this paradox that lies the essence of the exercise that HR managers often use during interviews.

There is a classic solution that requires only three simple actions that a person must perform. This algorithm does not require the use of brute force or complex engineering equipment. Correct answer is based on the sequential execution of elementary operations accessible to everyone.

In this article we will analyze in detail not only the canonical solution, but also consider variations of this riddle, which are often found in collections of logical problems. You will understand why open the door this is only the beginning of the path to the solution. We will also analyze the psychological aspect of such questions and their importance for the development of flexibility of thinking.

The classic algorithm of three actions

The answer to the question, how to put an elephant in a refrigerator at 3 actions, is surprisingly simple and even primitive. Many people start looking for complex technical solutions, forgetting about basic logic. The solution is in the following sequence:

  • 🚪 Open the refrigerator door.
  • 🐘 Put the elephant inside.
  • 🔒 Close the refrigerator door.

It would seem that everything is obvious, but it is precisely this obviousness that often confuses people. The brain refuses to take the task literally, trying to find a hidden meaning or a catch where there is none. Three steps This is a complete instruction that does not require additions.

Interestingly, this task is often paired with the question of how to put a giraffe in the refrigerator. There the algorithm is more complicated and requires four steps, including extracting the bishop. But in our case, when we are talking specifically about primary filling an empty refrigerator, the scheme remains minimalistic.

⚠️ Attention: Do not try to repeat these steps in real life with live animals. This can harm the health of the elephant, damage equipment and violate environmental laws.

📊 How long did you think about the answer?
Less than 5 seconds
About a minute
Longer minutes, looking for a catch
I didn’t know the answer at all

Psychology of solving logical paradoxes

Why does the question how to put an elephant in the refrigerator cause so many difficulties? Psychologists say that this is due to the effect of excessive rationalization. A person tends to complicate simple things, relying on past experience where large objects did not fit into small containers.

In business training, this test is used to identify employees who are able to discard unnecessary details and focus on the essence. Logical thinking in its pure form requires ignoring physical limitations within the framework of the task. If the condition does not say that the elephant is alive or the refrigerator is small, then these factors should not influence the decision.

It is also important to note the role cognitive biases. We are accustomed to the fact that in the real world you cannot stuff an elephant into a refrigerator. But in the world of logic and abstraction, different rules apply. The ability to switch between these modes of thinking is a valuable skill.

There are many modifications main task, which complicate the initial conditions. For example, there is a popular version where you need to put not an elephant, but a giraffe in the refrigerator. In this case, the algorithm expands to four steps, since it is necessary to free up space first.

Another option assumes that there are already food items in the refrigerator. Then before shove an elephantyou need to extract the contents. This teaches you to take into account the current state of the system before making changes.

There are also more complex versions where you need to take into account the weight of the animal, the load capacity of the shelves or the temperature inside the chamber. However, the classic formulation about three actions remains the most popular and recognizable all over the world.

Object Number of steps Key action Difficulty
Elephant (empty refrigerator) 3 Open, place, close Low
Giraffe (elephant inside) 4 Open, get the elephant, place giraffe, close Medium
Elephant (full refrigerator) 4+ Open, take out food, place elephant, close Average
Mouse 3 Similar to an elephant Low
What if the elephant doesn’t fit?

Within the logical problem, physical dimensions are ignored. If we consider the physical model, then the elephant will have to be divided into parts, but this goes beyond the scope of the original joke.

Application in HR and business training

In a corporate environment, the task how to put an elephant in a refrigerator in 3 step is used to assess the candidate’s reaction to stress and unusual situations. Recruiters pay attention not so much to the correctness of the answer, but to the course of reasoning.

If a candidate begins to doubt, ask clarifying questions about the size of the refrigerator or the type of elephant, this may indicate an analytical mindset. If he immediately gives a direct answer, this indicates determination and the ability to see the whole picture.

It is important to understand that creativity in business it is often about simplifying processes, and not complicating them. The ability to break down a big problem (the elephant) into simple steps (open, put, close) is the key to effective management.

⚠️ Attention: In some companies, this question may be considered a cliché. Before using it in an interview, make sure that it is appropriate in the context of your corporate culture.

Mathematical model of the problem

From a formal point of view, the process of placing an object into a container can be described as an operation on sets. Let A be the set of objects inside the refrigerator, and let S be the “elephant” object. The operation of placing an elephant is described as A = A ∪ {S}.

The “3 steps” condition imposes a limit on the number of operations for changing the state of the system. System states: Closed, Open. Transitioning between states requires action. The algorithm minimizes the number of transitions.

If we consider the task from the point of view theories of algorithms, then we are dealing with a sequence of commands that does not contain loops and conditions. This is a linear algorithm with constant complexity O(1)which makes it an ideal example for teaching the basics of programming.

In more complex models that take into account the volume V of the refrigerator and the volume of the elephant V_s, the condition for execution becomes inequality V_s <= V. However, in the classic comic formulation, this inequality is considered to be satisfied by definition.

Frequently asked questions (FAQ)

Is it true that this question is asked during interviews at Google?

Although there are legends that Google and Microsoft loved such riddles, in recent years the companies have moved away from them use. Now the focus has shifted to professional competencies and cases related to real work.

Does the task have a scientific basis?

There is no scientific basis for the possibility of placing an elephant in a household refrigerator. The problem is a purely logical and humorous construction designed to train thinking.

Is it possible to solve the problem faster than in 3 steps?

Theoretically, if the door is already open, there will be two steps. But in the classical formulation, the initial state of the refrigerator is closed, so three steps are the minimum required number of actions.

What to do if there is already a giraffe in the refrigerator?

In this case, the algorithm becomes more complicated. You will need: 1. Open the refrigerator. 2. Get the giraffe. 3. Stick an elephant. 4. Close the refrigerator. Total 4 steps.

☑️ Checking the logic of the solution

Completed: 0 / 4