SlideShare a Scribd company logo
Puzzle fastest 3 horses
Hup university
17-02-2018
Problem
• There are 25 horses among which you need to
find out the fastest 3 horses.
• You can conduct 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 how many races are required to get
the top 3 horses.
Solution
• Divide the 25 horses into 5 groups each group
have 5 horses, then make a race for each group
and choose the first three winner horses from
each group.
• Now we have 15 winner horses , we will sort
these horses according to their speed
computation.
• Choose the first three horses
• Result:- we will have five races among the horses
only with a sorted algorithm.
25 horse
RC1 RC2 RC3 RC4 RC5
Sort the 15 winner horses, then
choose the faster three horses

More Related Content

PPTX
Compute skillspowerpoint lect2
zahraa F.Muhsen
 
PPTX
Computer skills powerpoint intro
zahraa F.Muhsen
 
PPTX
Filter
zahraa F.Muhsen
 
PDF
Table
zahraa F.Muhsen
 
PPTX
List
zahraa F.Muhsen
 
PPTX
Computer skills excel2010 5
zahraa F.Muhsen
 
PPTX
Computer skills excel2010 data
zahraa F.Muhsen
 
PPTX
Computer skills excel2010 2
zahraa F.Muhsen
 
Compute skillspowerpoint lect2
zahraa F.Muhsen
 
Computer skills powerpoint intro
zahraa F.Muhsen
 
Computer skills excel2010 5
zahraa F.Muhsen
 
Computer skills excel2010 data
zahraa F.Muhsen
 
Computer skills excel2010 2
zahraa F.Muhsen
 

More from zahraa F.Muhsen (20)

PPTX
Computer skills excel2010
zahraa F.Muhsen
 
PPTX
Computer skills excel2010 3
zahraa F.Muhsen
 
PPTX
Computer skills excel2010-4
zahraa F.Muhsen
 
PDF
Computer skills excel2010
zahraa F.Muhsen
 
PPTX
Genetic algorithms
zahraa F.Muhsen
 
PPTX
Internet search techniques
zahraa F.Muhsen
 
PPTX
Nearest neighbor search
zahraa F.Muhsen
 
PPTX
Search methods
zahraa F.Muhsen
 
PPTX
Hash function
zahraa F.Muhsen
 
PPTX
Pigeonhole sort
zahraa F.Muhsen
 
PPTX
Gnome sort
zahraa F.Muhsen
 
PPTX
Puzzle (1000 coins and 10 bags)
zahraa F.Muhsen
 
PPTX
Php1
zahraa F.Muhsen
 
PPTX
Binary tree
zahraa F.Muhsen
 
PPTX
Selection sort
zahraa F.Muhsen
 
PPTX
Puzzle the neighbor
zahraa F.Muhsen
 
PPTX
Merge sort
zahraa F.Muhsen
 
PPTX
Counting sort
zahraa F.Muhsen
 
PPTX
Radix sort
zahraa F.Muhsen
 
PPTX
Puzzle two brother and facebook by tree
zahraa F.Muhsen
 
Computer skills excel2010
zahraa F.Muhsen
 
Computer skills excel2010 3
zahraa F.Muhsen
 
Computer skills excel2010-4
zahraa F.Muhsen
 
Computer skills excel2010
zahraa F.Muhsen
 
Genetic algorithms
zahraa F.Muhsen
 
Internet search techniques
zahraa F.Muhsen
 
Nearest neighbor search
zahraa F.Muhsen
 
Search methods
zahraa F.Muhsen
 
Hash function
zahraa F.Muhsen
 
Pigeonhole sort
zahraa F.Muhsen
 
Gnome sort
zahraa F.Muhsen
 
Puzzle (1000 coins and 10 bags)
zahraa F.Muhsen
 
Binary tree
zahraa F.Muhsen
 
Selection sort
zahraa F.Muhsen
 
Puzzle the neighbor
zahraa F.Muhsen
 
Merge sort
zahraa F.Muhsen
 
Counting sort
zahraa F.Muhsen
 
Radix sort
zahraa F.Muhsen
 
Puzzle two brother and facebook by tree
zahraa F.Muhsen
 
Ad

Recently uploaded (20)

PPTX
Lecture 1 Intro in Inferential Statistics.pptx
MiraLamuton
 
PDF
CH2-MODEL-SETUP-v2017.1-JC-APR27-2017.pdf
jcc00023con
 
PPTX
Measurement of Afordability for Water Supply and Sanitation in Bangladesh .pptx
akmibrahimbd
 
PPTX
artificial intelligence deeplearning-200712115616.pptx
revathi148366
 
PDF
AI Lect 2 Identifying AI systems, branches of AI, etc.pdf
mswindow00
 
PPTX
Bharatiya Antariksh Hackathon 2025 Idea Submission PPT.pptx
abhinavmemories2026
 
PPTX
Trading Procedures (1).pptxcffcdddxxddsss
garv794
 
PDF
The_Future_of_Data_Analytics_by_CA_Suvidha_Chaplot_UPDATED.pdf
CA Suvidha Chaplot
 
PDF
Research about a FoodFolio app for personalized dietary tracking and health o...
AustinLiamAndres
 
PPTX
Employee Salary Presentation.l based on data science collection of data
barridevakumari2004
 
PDF
Technical Writing Module-I Complete Notes.pdf
VedprakashArya13
 
PPTX
batch data Retailer Data management Project.pptx
sumitmundhe77
 
PPTX
Introduction to Biostatistics Presentation.pptx
AtemJoshua
 
PPTX
Presentation1.pptxvhhh. H ycycyyccycycvvv
ItratBatool16
 
PDF
345_IT infrastructure for business management.pdf
LEANHTRAN4
 
PPTX
Machine Learning Solution for Power Grid Cybersecurity with GraphWavelets
Sione Palu
 
PDF
Data_Cleaning_Infographic_Series_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
PPTX
Extract Transformation Load (3) (1).pptx
revathi148366
 
PDF
TIC ACTIVIDAD 1geeeeeeeeeeeeeeeeeeeeeeeeeeeeeer3.pdf
Thais Ruiz
 
PDF
Data Analyst Certificate Programs for Beginners | IABAC
Seenivasan
 
Lecture 1 Intro in Inferential Statistics.pptx
MiraLamuton
 
CH2-MODEL-SETUP-v2017.1-JC-APR27-2017.pdf
jcc00023con
 
Measurement of Afordability for Water Supply and Sanitation in Bangladesh .pptx
akmibrahimbd
 
artificial intelligence deeplearning-200712115616.pptx
revathi148366
 
AI Lect 2 Identifying AI systems, branches of AI, etc.pdf
mswindow00
 
Bharatiya Antariksh Hackathon 2025 Idea Submission PPT.pptx
abhinavmemories2026
 
Trading Procedures (1).pptxcffcdddxxddsss
garv794
 
The_Future_of_Data_Analytics_by_CA_Suvidha_Chaplot_UPDATED.pdf
CA Suvidha Chaplot
 
Research about a FoodFolio app for personalized dietary tracking and health o...
AustinLiamAndres
 
Employee Salary Presentation.l based on data science collection of data
barridevakumari2004
 
Technical Writing Module-I Complete Notes.pdf
VedprakashArya13
 
batch data Retailer Data management Project.pptx
sumitmundhe77
 
Introduction to Biostatistics Presentation.pptx
AtemJoshua
 
Presentation1.pptxvhhh. H ycycyyccycycvvv
ItratBatool16
 
345_IT infrastructure for business management.pdf
LEANHTRAN4
 
Machine Learning Solution for Power Grid Cybersecurity with GraphWavelets
Sione Palu
 
Data_Cleaning_Infographic_Series_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
Extract Transformation Load (3) (1).pptx
revathi148366
 
TIC ACTIVIDAD 1geeeeeeeeeeeeeeeeeeeeeeeeeeeeeer3.pdf
Thais Ruiz
 
Data Analyst Certificate Programs for Beginners | IABAC
Seenivasan
 
Ad

Puzzle fastest 3 horses

  • 1. Puzzle fastest 3 horses Hup university 17-02-2018
  • 2. Problem • There are 25 horses among which you need to find out the fastest 3 horses. • You can conduct 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 how many races are required to get the top 3 horses.
  • 3. Solution • Divide the 25 horses into 5 groups each group have 5 horses, then make a race for each group and choose the first three winner horses from each group. • Now we have 15 winner horses , we will sort these horses according to their speed computation. • Choose the first three horses • Result:- we will have five races among the horses only with a sorted algorithm.
  • 4. 25 horse RC1 RC2 RC3 RC4 RC5 Sort the 15 winner horses, then choose the faster three horses