Skip to main content

90 Balls Logic

Today, I was asked a very beautiful Logic Question by a very brilliant person. I took a minute to think about it and solve it. But then I was soo amazed at my own intelligence and aptitude that I am posting about the problem and my solution. (Sorry for bragging but I wonder how a brain works if not by divine intellect.)
Here is the question:

Question: You have got 90 pool balls which look completely identical in shape, size and weight. Only one ball in the complete set has a lighter mass. You also have a weighing machine. Tell me a way where you can find the anomalous ball in least number of iterations (steps).
Well, I have never come across such a puzzle till now, and was a bit dazed in such a scenario.
Then I trusted myself and started to think, and the solution was brilliant:
Doing it linearly weighing each ball takes 89 iterations.
My solution:
Divide the entire set of 90 balls into 45 each,
Weigh them on the weighing machine.

You get the set containing the ball with lighter weight.
Questioner: Okay, but wait, for the next iteration, how can you divide 45 balls into two sets?
Me: I am going to divide the whole set of 45 balls into two sets of 22 balls each plus one ball extra.
I weigh them. If both the new sets are of same weight, the extra ball would be the light ball,
If not, we get the set which contains the lighter ball, the set has 22 balls now.
Questioner: Okay, but it takes longer than the official answer.
Let us analyze then-
Official Answer
Divide the whole set into 30 ball sets of three.
Within 2 iterations, we get a set containing 30 balls,
Divide the set again into 10 ball sets, do the same.
To get lightest ball, the worst case scenario is 8 iterations.
My Answer
Within two iterations, you get a set containing 22 balls each.
Doing the same procedure, we get the Lighter Ball within 5 iterations.

All this without even referring to the internet.
All this was solved within minutes of the question and I was so thrilled that I am posting this onto my blog.
It is really amazing how the mind works!

via Blogger http://ift.tt/1Kw79Ak

via Blogger http://ift.tt/1MgPRGw


Comments

Popular posts from this blog

Ancient Vedic Dinacharya (Daily routine)

In all of creation there are no better and more powerful medicines, tools, techniques, methods etc. than to tune in with the rhythm and laws of Divine and Almighty Nature. Ayurveda, hygiene, lifestyle and diet are crucial to good health. To attain good health, Ayurveda prescribes the daily routine and the seasonal regime. The daily regime or routine is called “ Dinacharya ” in Sanskrit. ‘Din’ means 'day' and ‘acharya’ means 'to follow' or 'close to'. According to Ayurveda to maintain a healthy and disease free life one should follow a daily routine or schedule. It is important to follow a daily regime in order to be optimally healthy. Dinacharya is one of the best things that you can do to prevent disease, stay in balance and treat almost every illness. The Ayurvedic Rishis (Saints) considered daily routine to be a stronger healing force than any other medicine. In Sanskrit the daily routine is called the  Dinacharya . Ayurveda recommends that

How to activate TaskView with Hot Corners in Windows 10

We have some really productive features in Windows 10. Most notably Task View and Start Menu/Screen But in order to fully realize their potential, I felt that they should be activated by Hot Corners just like in Mac OS. So here are some tweaks to achieve the same. I used: 1.        AutoHotKey : Great program for sending keystrokes. 2.        Hot Corners 2: To activate hot corners. Step 1. Install AutoHotKey: I used it to send keystrokes to the processor. Installation is fairly simple. Step 2: Enter the following script in notepad and save it with an “ .ahk” extension: TaskView.ahk                   Send {LWin Down}{Tab}                   Send {LWin up}                   Return Step 3: Install Hot Corners 2: This handy little program enables us to launch programs using Hot Corners. Step 4: Select the Hot Corner you want, select the dropdown and click

VEDIC BRAIN WAVE THEORIES - Captain Ajit Vadakayil

JESUS CHRIST CAME TO INDIA AND STAYED IN KERALA FOR 3 YEARS TO UNDERSTAND THE MEANING OF CONSCIOUSNESS,  LEARN MEDITATION AND THE POWER OF THE DNA.  HE WENT BACK TO JERUSALEM AND THEN MADE HISTORY .  HE TOLD ALL TO UTTER HAREE OM ( REDUCED TO AMEN )  .  This is a reading of Edgar Cayce.  This was a nice input by my friend Ajit Amost all Quantum scientist pioneers knew Sanskr it. It is no wonder why the DANCING SHIVA statue had pride of place at the LHC hadron collider at Cern Switzerland.  Nikola Tesla used Sanskrit works like Akasha for Ether/ ZPF. Here is profound Vedic knowledge about your brain and consciousness. This was at a time when the rest of the world could NOT think beyond eating, shitting, fornicating and sleeping. Since life began, the Earth has been surrounding and protecting all living things with a natural frequency pulsation of 7.83 HZ—the ancient Indian Rishis called OM. Mankind depends on two subtle environmental signals, the Yin from below and the Yang