The earlier you land up to the industry which interests you, the better it is for your carrer. I landed up into analytics industry by chance. When I joined my first firm, I was aware what analytics means, but did not really know how big is the opportunity to grow in this industry. Now, I know that things happened for the best (although by chance). Analytics industry relies on extensive use of statistics and Data handling tools. But, these skills are really not expected from freshers moving into this domain. Hence, it becomes really difficult for the employers to conclude if a candidate will do well in the industry or not. Primarily what they are interested in is the number crunching skills and the structured thinking capabilities.

To gauge these skills, employer generally use any of the following three types of questions :

**1. Puzzles**

**2. Business Case study**

**3. Guess estimate**

We have published a number of articles on the approaches to take in solving Business Case study and Guess estimate problems. However, we have still not covered the first category of questions i.e. Puzzles. Puzzles are not the ideal way to judge analytical skills because you will be able to solve the question, if you already know it. Solving from scratch is the tougher bit.

Because there are a limited number / type of puzzles which are in use, knowing / practicing them before hand can really become your strength in analytics interviews. In this article, we will solve three widely asked puzzle questions in these interviews.

Take the Test: Should I become a Data Scientist?

**Puzzle 1**

Two trains X and Y (80 km from each other) are running towards each other on the same track with a speed of 40km/hr. A bird starts from the train X and travels towards train Y with constant speed of 100km/hr. Once it reaches train Y, it turns and starts moving toward train X. It does this till the two trains collides with each other. Find the total distance traveled by the bird?

**Maximum time to solve the puzzle** : 1 Minutes

**Difficulty level of the puzzle** : Low

**What is the interviewer looking for** : Your approach. If you start calculating distance from X to Y and the Y to X and so on, you have already been rejected.

**Solution** : Velocity of approach for the two trains = (40 + 40) km/hr

Total time the trains will take to collide = 80km/80km/hr = 1 hour

Total distance travelled by the bird = 100km/hr * 1hr = 100 km.

Must Read: The definitive guide to prepare for analytics interviews

**Puzzle 2**

You have two beakers – one of 4 liters and other of 5 liters. You are expected to pour exactly 7 liters in a bucket. How will you complete the task?

**Maximum time to solve the puzzle** : 2 Minutes

**Difficulty level of the puzzle** : Medium

**What is the interviewer looking for** : Answer.

**Solution** :

Step 1 : Fill in 5 liter beaker and empty it in the 4 liter beaker. You are left with 1 liter in the 5 liter beaker. Pour this 1 liter in the bucket.

Step 2 : Repeat step 1 and you will have 2 liters in the bucket.

Step 3 : Fill in the 5 liter beaker and add to the bucket.You now have 7 liters in the bucket.

Must Read: How freshers can crack interviews for business analytics roles?

**Puzzle 3:**

There are 5 pirates in a ship. Pirates have hierarchy C1, C2, C3, C4 and C5.C1 designation is the highest and C5 is the lowest. These pirates have three characteristics : a. Every pirate is so greedy that he can even take lives to make more money. b. Every pirate desperately wants to stay alive. c. They are all very intelligent.

There are total 100 gold coins on the ship. The person with the highest designation on the deck is expected to make the distribution. If the majority on the deck does not agree to the distribution proposed, the highest designation pirate will be thrown out of the ship (or simply killed). Only the person with the highest designation can be killed at any moment. What is the right distribution of the coins proposed by the captain so that he is not killed and does make maximum amount?

**Maximum time to solve the puzzle** : 15 Minutes

**Difficulty level of the puzzle** : High

**What is the interviewer looking for** : Your approach and solution structure.

**Solution** : The solution of this problem lies in thinking through what will happen if all the pirates were thrown one by one and then thinking in reverse order.

Let us name pirates as A,B,C,D and E in hierarchy (A being highest).

If only D and E are left at end, D will simply give 0 coins to E and still escape because majority cannot be reached. Hence, even if E gets 1 coin he will give his vote to the distributor.

If C, D and E are there on the deck, C will simply give one coin to E to get his vote. And D simply gets nothing. Hence, even if D gets 1 coin he will give his vote to the distributor.

If B,C,D and E are there on the deck, B will simply give one coin to D to get his vote. C & E simply gets nothing.

If A,B,C,D and E are there on the deck, A simply gives 1 coin each to C and E to get their votes.

Hence, in the final solution A gets 98 coins and only C & E get 1 coin each.

Must Read: All you need to know to start a career in business analytics

**End Notes**

If you were able to solve all the 3 puzzles, (from scratch) you have a good hunch for such puzzles. In case you were not able to crack the last one, you simply need to practice more. In case you were not able to crack two of the puzzles within time limits, you need to solve different variety of puzzles to get a nag of these types of questions. Puzzles are good way to exercise your brain. We will publish more such puzzles in future, so stay tuned.

Did you find the article useful? How many questions were you able to solve? How much time did you take to solve each? What do you think of the difficulty level of these puzzles?

Hi Tavish,

Does these questions or puzzle not for entry level or exp below 1-2 year. Because people from more exp will not judge by puzzles.

Thanks !

Dinesh K…

Dinesh,

Puzzles are more relevant for people at entry level. In general lateral hiring is done using business/analytics case studies.

Tavish

Hi Tavish,

I sincerely want to thank Analytics Vidhya team for such useful articles related to Analytics. Keep posting.

I have another approach for puzzle 2 that we can consider as alternative approach. Kindly have a look at it.

Step 1: Fill the 5 liter of beaker with 4 liter of beaker . So 1 liter is still remaining in 5 Liter of beaker.

Step 2: Fill again remaining 1 liter in 5 Liter of beaker using 4 Liter of beaker. So now you have 3 liter water is remained in 4 Liter of beaker. Pour it in bucket.

Step 3: Fill the 4 Liter of Beaker and pour it in the bucket..SO YOU HAVE NOW 7 LITERS IN A BUCKET.

Thanks,

You are right Deval. Thanks for sharing.

Deval Bhai tumne muzze thoda confuse kar diyaa.

step 2 i did not understand.

my solution is this…

Step 1: Fill 4 liter beaker. empty in bucket.

Step 2: Repeat Step 1, two more times

Step 3: Using 5 liter beaker remove 5 liters from the bucket

The logic works. Thanks for sharing.

Apurv, your logic also works.Everyone has his/her own thinking.So logic also differs.

I have tried to simplify step 2. Hope it helps you to understand.

Step 2 : In step 1 , 5 liter beaker has 1 liter of space empty(after filling using 4 liter beaker). We are filling that space using 4 liter beaker in Step 2. After filling you have 3 liter water remaining in 4 Liter beaker. Pour it in a bucket.

Thanks,

But it will take 1 more cycle to complete the same task..

Tavish,

To get hang of these kind of puzzles, can you recommend some websites or books which can be referred.

Suresh,

I might not have definitive answer to this question as I never followed any such website. But we have a few article on such puzzles in pipeline.

Tavish

sir can u please suggest some website or books for practicing such type of puzzles or can u provide some more

Pankaj,

I might not have definitive answer to this question as I never followed any such website. But we have a few article on such puzzles in pipeline.

Tavish

Can you provide useful insights on how to become a game analyst. I’m referring to mobile gaming. Basically, I happen to use game analytics’s tool and as a designer want to imbibe analyst’s skills as well. Please guide how do I start with?

P.S. A game Analyst is quite diff from a data analyst.

Any more sites where puzzles can be practiced from ?

Hi , One more approach to the puzzle 2:

1. Fill the 4L beaker with water and pour into the bucket.

2. Now fill the 4L beaker and pour into 5L beaker. Now 5L beaker can still hold one liter.

3. Fill the 4L and pour into 5L beaker for the left over 1L. Now the 4L beaker has 3L of water.

4. Pour the 3L to the bucket.

Thanks,

Pradeep

Hi,

For the 3rd puzzle,what if the 2 pirates still decide to vote against head pirate for getting only 1 coin each?

There is a big flaw in the logic here:

Last 3 pirates C D E

We are assuming that E will accept a 1 coin bribe from C because otherwise he gets nothing.. but..

This is assuming that C is a complete jerk and wants to get almost all the coins.

But..

D and E can bribe C to accept an arbitrary distribution because if C does not accept C will die.

So this is a game of chicken between C and E.

E is afraid they will get 0 coins

C is afraid he will die.

C will not choose dying over a fair distribution any more than E will choose getting nothing over 1 coin.

Actually C’s case is worse!

I appreciate your work sir……..

Hi Tavish,

As per your experience which seems to be a lot, can you please tell me, how much importance is given to puzzle solving, and till what career level is this applicable.

Secondly, most of the time, these are interview puzzles and not for entrance exam. So, as per your experience, is it always necessary for a candidate to solve the puzzle and come to an answer or the approach to solving a puzzle matters first keeping in mind the immense pressure that the candidate is in while appearing for the interview in front of highly experienced people.

can u tell me what questions can goldman sachs company will ask in written test for strats profile

Nice questions. More logical interview puzzles can be found in below website.

Interview Puzzles

I have one puzzle can anyone give solution to that there are 4 bucket A,B,C and D placed in adjacent to each other

A and B are filled to the brim and C and D are half filled

Task: you can only move one to make the bucket in alternate manner I.e full half full half