Open In App

Puzzle 9 | (Find the fastest 3 horses)

Last Updated : 25 May, 2023
Summarize
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

There are 25 horses among which you need to find out the fastest 3 horses. You can conduct a race among at most 5 to find out their relative speed. At no point, you can find out the actual speed of the horse in a race. Find out the minimum no. of races which are required to get the top 3 horses.

Find the fastest 3 horses

Solution:

First, we group the horses into groups of 5 and race each group on the race course. This gives us 5 races (see image below). 

 

Find the fastest 3 horses

  • In the image, each row represents one race of 5 horses. For convenience, let us name the horses using the row and column index. Therefore, the first race(row 1) was contested between the horses R1C1, R1C2, R1C3, R1C4 and R1C5. The second race (row 2) was contested between the horses R2C1, R2C2 and so on. Let us assume that the fifth member of each row won the race (R1C5 won the first race, R2C5 won the second race and so on), the fourth member of each row came second (R1C4 came second in the first race, R2C4 came second in the second race and so on) and the third member of each group came third (R1C3 came third in the first race, R2C3 came third in the second race and so on). 

     

Find the fastest 3 horses

  • Next, we race the 5 level 1 winners (R1C5, R2C5, R3C5, R4C5 and R5C5). Let’s say R1C5 wins this race, R2C5 comes second and R3C5 comes third. 

     

Find the fastest 3 horses

  • The winner of this race (R1C5) is the fastest horse of the entire group. Now, the horse which is second in the entire group can either be R2C5 or R1C4. The horse which is third in the entire group can either be R3C5, R2C4 or R1C3. Therefore, we race these 5 horses. 

     

Find the fastest 3 horses

Therefore, the horse R1C5 is the fastest horse. The horses which come first and second in the last race are the horses which are second and third in the entire group respectively. in this way, the minimum number of races required to determine the first, second and third horses in the entire group is 7. 
 

Alternate Explanation: 

Make group of 5 horses and run 5 races. Suppose five groups are [a, b, c, d, e] and next alphabet is its individual rank in this group(of 5 horses).for eg. d3 means horse in group d and has rank 3rd in his group. [ 5 RACES DONE ] 
a1 b1 c1 d1 e1 
a2 b2 c2 d2 e2 
a3 b3 c3 d3 e3 
a4 b4 c4 d4 e4 
a5 b5 c5 d5 e5 

Now make a race of (a1,b1,c1,d1,e1).[RACE 6 DONE] suppose result is a1>b1>c1>d1>e1 
which implies a1 must be FIRST. 
b1 and c1 MAY BE(but not must be) 2nd and 3rd. 
FOR II position, horse will be either b1 or a2 
(we have to find top 3 horse therefore we choose horses b1,b2,a2,a3,c1 do racing among them [RACE 7 DONE]. 
The only possibilities are : 
c1 may be third 
b1 may be second or third 
b2 may be third 
a2 may be second or third 
a3 may be third 
The final result will give ANSWER. suppose result is a2>a3>b1>c1>b2 
then answer is a1,a2,a3,b1,c1. 
HENCE ANSWER is 7 RACES 

Please note that the 7 races work for the case also when all top 3 horses are same group or any top two horses are in same group. The group which has top 3 horses would always have winner in 6th race. In 7th race, we consider 2nd and 3rd horses of the group whose horse is overall winner. We also consider 2nd horse of the group whose horse came 2nd in 6th race. 

 


Previous Article
Next Article

Similar Reads

Fastest Horse Query in a Race
Given ‘N’ horses running in ‘N’ different lanes numbered from 1 to ‘N’. You are given an array “FINISHTIME” containing ‘N’ integers where “FINISHTIME[i]” represents the time taken by the ith horse to complete the race. Also given are ‘Q’ queries, each containing two integers each, ‘L’ and ‘R’. For each query, return the time taken by the fastest ho
8 min read
Puzzle | Man fell in well Puzzle
A man fell in a 50m deep well. He climbs 4 meters up and slips 3 meters down in one day. How many days would it take for him to come out of the well? Answer: 47days Explanation: On the first day, the man climbs 4 meters up and slips 3 meters down, therefore he only climbs 1 meter up totally.On the second day, again he climbs 1 meter up, so the tota
1 min read
Puzzle - A LITTLE TRAIN PUZZLE
A nonstop express going sixty miles an hour starts from Bustletown for Ironchester, and another nonstop express going forty miles an hour starts at the same time from Ironchester for Bustletown. How far apart are they exactly an hour before they meet?Because the two stations cannot be found on any map or gazetteer, we cannot state the distance betw
1 min read
Puzzle | The Einstein's Puzzle
Einstein's puzzle is a famous logic puzzle that was supposedly created by Albert Einstein as a boy. The puzzle goes as follows:There are five houses in a row, each with a different color. In each house lives a person of a different nationality. The five owners drink a certain type of beverage, smoke a certain brand of cigar, and keep a certain pet.
4 min read
Puzzle 15 | (Camel and Banana Puzzle)
A person has 3000 bananas and a camel. The person wants to transport the maximum number of bananas to a destination which is 1000 KMs away, using only the camel as a mode of transportation. The camel cannot carry more than 1000 bananas at a time and eats a banana every km it travels. What is the maximum number of bananas that can be transferred to
4 min read
Puzzle 24 | (10 Coins Puzzle)
You are blindfolded and 10 coins are placed in front of you on the table. You are allowed to touch the coins but can’t tell which way up they are by feel. You are told that there are 5 coins head up, and 5 coins tails up but not which ones are which. Can you make two piles of coins each with the same number of heads up? You can flip the coins any n
1 min read
Puzzle 27 | (Hourglasses Puzzle)
Puzzle: Given two hourglass of 4 minutes and 7 minutes, the task is to measure 9 minutes. Solution: At 0 minutes: Start both hourglasses at the same time. At 4 minutes: 4 minutes hourglass runs out and flip it. 7 minutes hourglass is left with 3 minutes. At 7 minutes: 4 minutes hourglass is left with 1 minute. 7 minutes hourglass runs out and flip
1 min read
Puzzle 28 | (Newspaper Puzzle)
Question: A newspaper made of 16 large sheets of paper folded in half. The newspaper has 64 pages altogether. The first sheet contains pages 1, 2, 63, 64. If we pick up a sheet containing page number 45. What are the other pages that this sheet contains? Answer: On the back of 45, it is 46. The pages are such that for each page p, 65-p will be also
1 min read
Puzzle 31 | (Minimum cut Puzzle)
Puzzle: You have got someone working for you for five days and a gold bar to pay him. You must give them a piece of gold at the end of every day. What are the fewest number of cuts to the bar of gold that will allow you to pay him 1/5th each day? Answer: 2 cuts. Solution: Explanation 1: After two cut there are three pieces of [1 unit and two 2 unit
2 min read
Puzzle 33 | ( Rs 500 Note Puzzle )
A Lady (L) bought an item of Rs 100 from the Shopkeeper (C). She paid him through a 500 Rs Note. Realizing that he did not have change, the shopkeeper C got change for that note from another shopkeeper (S) and paid Rs 400 to the Lady. After a few days, S realized that the note is fake, And this railed at C and took 500 Rs back from him. So in this
1 min read
Puzzle 36 | (Matchstick Puzzle)
Question: How to make 4 equilateral triangles with 6 identical match sticks? Method - I: Make a tetrahedron. Method-II: Method - III: Make one equilateral triangle by three sticks . then put each remaining stick on straight line passing through middle points of each two arms of triangle. Method IV: https://youtu.be/DqLOC85SVHQ
1 min read
Puzzle 38 | (Tic Tac Toe Puzzle)
Statement: The game of Tic-Tac-Toe is being played between two players and it is in below state after six moves. Can you answer following questions? Who will win the game, O or X? Which was the sixth mark and at which position? Assume that both the players are intelligent enough. Solution: O will win the game. The sixth mark was X in square 9. Expl
1 min read
Puzzle 39 | (100 coins puzzle)
This puzzle is similar to 10 Coins Puzzle. Question: 100 coins are lying flat on a table. 10 of them are heads up and 90 are tails up.You can't see which one is which.How can we split the coins into two piles such that there are same number of heads up in each pile? Note: It is allowed to flip the coins of one pile once. Answer: Make 2 piles with 1
1 min read
Puzzle 51| Cheryl’s Birthday Puzzle and Solution
(Wiki) Cheryl's Birthday is the unofficial name given to a mathematics brain teaser that was asked in the Singapore and Asian Schools Math Olympiad, and was posted online on 10 April 2015 by Singapore TV presenter. It is an interesting problem and might be asked in the interviews. It is based on logical deduction. It doesn’t require any prior mathe
3 min read
Puzzle 85 | Chain Link Puzzle
You have five pieces of chain, each consisting of three links. You want to make one long chain of these five pieces. Breaking open a link costs 1 Rs, and welding an open link costs 3 Rs. Is it possible to make one long chain of the five pieces, if you have just 15 Rs? Solution: Let us name the chains as 1, 2, 3, 4, 5 each having three links. Take c
1 min read
Puzzle | 3 Priests and 3 devils Puzzle
There are 3 devils and 3 Priests.They all have to cross a river in a boat.Boat can only carry two people at a time.As long as there are equal number of devils and priests,then devils will not eat Priest.If the number of devils are greater than the number of priests on the same side of the river then devils will eat the priests.So how can we make al
2 min read
Puzzle - "Rocky and Sam's Avian Puzzle: A Feathery Conundrum"
In a little town called Puzzleville, where puzzles and brain teasers made every day exciting, two friends, Rocky and Sam, got caught up in a tricky puzzle about flying birds. Sam, being curious, asked Rocky a question that led them on an adventure to solve the mystery of the birds in the sky. The Puzzle"Rocky," Sam began, his eyes sparkling with ex
2 min read
Puzzle 29 | (Car Wheel Puzzle)
Puzzle: A car has 4 tyres and 1 spare tyre. Each tyre can travel a maximum distance of 20000 km before wearing off. What is the maximum distance the car can travel before you are forced to buy a new tyre? You are allowed to change tyres (using the spare tyre) an unlimited number of times.   Answer: 25000 kmsSolution: Divide the lifetime of the spar
6 min read
Puzzle 81 | 100 people in a circle with gun puzzle
100 people standing in a circle in an order 1 to 100. No. 1 has a sword. He kills the next person (i.e. No. 2) and gives the sword to the next (i.e. No. 3). All people do the same until only 1 survives. Which number survives at the last? There are 100 people starting from 1 to 100. Solution: 73rd person will survive at last Explanation 1 (intuitive
8 min read
Puzzle 34 | (Prisoner and Policeman Puzzle)
Policeman decided to punish the Prisoner and asked him to make a statement. The Prisoner should make such a statement so that he would be alive. If the statement is held true by Policeman, the Prisoner will be hanged to death and if the statement is held false, the Prisoner will be shot dead. Answer: The Prisoner said, 'I will be shot dead'. If the
1 min read
Puzzle | Elevator Puzzle
A man works on the 10-th floor and takes the elevator down to ground level at the end of the day. Yet every morning, he only takes the elevator to the 7th floor, even when in a hurry. But he goes all the way to the 10-th floor when others are in the elevator with him or it is a rainy day. Why? Solution: He is too short to reach the "10" button on t
1 min read
Puzzle 2 | (Find the ages of daughters)
Alok has three daughters. His friend Shyam wants to know the ages of his daughters. Alok gives him a first hint. 1. The product of their age is 72. Shyam says this is not enough information Alok gives him a second hint. 2. The sum of their ages is equal to my house number. Shyam goes out and looks at the house number and tells “I still do not have
2 min read
Puzzle | Find The Probability of Distance in a Square
Given 6 point inside a square of side 10cm, what is the probability that there exist at least two points whose distance is less than 8cm? Asked In: FICO Answer: 1 Explanation: The logic of the solution is that if you draw 6 points inside a square of 10 cm then it's sure that there are at least two points within 8cm. Imagine if you draw four points
1 min read
Puzzle | Find the box which contains Box of 11 gm Cigarettes
Suppose you have 10 boxes and each box contains 10 Cigarettes. 9 out of 10 boxes have each Cigarette of 10 gm. Remaining 1 box has each Cigarette of 11 gm. The task is to find the box which contains 11gm Cigarettes. Constraint: You have an electronic weighing machine and with the help of that you have to identify the box which contain 11 gm Cigaret
2 min read
Puzzle | Find the overweight islander
There are 12 men on an island. 11 weigh exactly the same, but one of them is slightly lighter or heavier. There is a seesaw to determine who is the odd one out. Find out the minimum number of times the seesaw will be used. Solution: The minimum number of times seesaw will be needed is 3. Explanation: A Divide and Conquer Approach can be used to sol
3 min read
Puzzle | Find the Culprit
Joe is a person who can't keep his secrets. He is that much careless that all his relatives and friends know his Debit Card PIN. Today Joe makes a profit of $1000. So he decided to throw a party and he invited his 3 friends: Leena, Paul, and Andrew. He was in a hurry to reach the home as soon as possible. Coming back to the home he stopped to buy s
2 min read
Puzzle - Find Odd Stone
You are given a digital scale and 12 identical-looking Stones, out of which one is heavier than the rest ( you don't know which ). You are only allowed to use the scale three times to identify the odd stone and determine whether it is heavier than the rest. How can you do this? Solution: Divide the stones into three groups of four.Weigh two of the
1 min read
Puzzle - Find Position in Globe
You’re standing on the surface of the Earth. You walk one mile south, one mile west, and one mile north. You end up exactly where you started. Where are you? think of a solution to the problem. Solution: The answer to this classic puzzle is that you must be standing at the North Pole. Explanation:Imagine you're standing at the North Pole. If you we
2 min read
Puzzle 8 | (Find the Jar with contaminated pills)
Puzzle: You have 5 jars of pills. Each pill weighs 10 grams, except for contaminated pills contained in one jar, where each pill weighs 9 grams. Given a scale, how could you tell which jar had the contaminated pills in just one measurement? Solution: To find the contaminated Jar, follow this step-wise approach. Step 1: Take out 1 pill from jar 1, 2
1 min read
Puzzle | Program to find number of squares in a chessboard
Puzzle: You are provided with a chessboard and are asked to find the number of squares in it. A chessboard is a board with 8 x 8 grids in it as represented below. Solution: Looking closely at the chessboard we can see that in addition to the 1 x 1 square, there can be a combination of 2 x 2, 3 x 3, 4 x 4, 5 x 5, 6 x 6, 7 x 7, and 8 x 8 squares too.
4 min read
three90RightbarBannerImg