top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration

Facebook Login
Site Registration

What is the least number of comparison needed to find the 2nd smallest out of them?

+1 vote

You have 64 numbers. What is the least number of comparison needed to find the 2nd smallest out of them?

posted May 27, 2014 by anonymous

Share this puzzle
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

can be found using tournament method, answer is n+logn -2
68 comparisons needed.

answer Dec 19, 2014 by Shashi Kant

Similar Puzzles
0 votes

You have three mislabeled jars. one contains Apple jelly beans, another Orange jelly beans, and the third has a mix of both (not necessarily a 50/50 mix, could be a 1/99 mix or a 399/22 mix).

How many jelly beans would you have to pull out, and out of which jars, to find out how to fix the labels on the jars?

+1 vote

In order to complete the racing competition, the London racetrack has to submit its top and the most famous three horses to win the competition. Due to a electrical storm, all the records are cleared and no one knows which horse holds the record. They all look identical and it becomes even more difficult to differentiate the horses. There are 25 horses in the London racetrack. But there can be only five horses at a time on the track. Due to the electrical storm, time recording is impossible.
What will the least number of races that can be conducted to find out the three fastest horses?

+2 votes

There are a group of airplanes on an island. The tank of each airplane contains just enough fuel to fly halfway around the world. Any amount of fuel can be transferred from one plane to another while in the air. The only fuel source is on the island. It is assumed that all planes burn fuel at the same rate and fly at the same speed.
What is the smallest number of airplanes needed to ensure the complete flight of one plane around the world?
All planes should return safely to the island.

Contact Us
+91 9880187415
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Karnataka INDIA.