Puzzle | Can 2 persons be with same number of hairs on their heads?
Last Updated : 18 Jan, 2023
One day Ram and Shyam were searching Google for finding what is the maximum number of hairs on the human head. They found that it is 2, 00, 000. Then Shyam thought a while and suddenly made a statement that there are at least two Bengaluru citizens who have got the exact same number of hairs on their heads. Both of them knew the fact that the population of Bengaluru is 1.23 crores. But Ram was still thinking whether Shyam's statement is correct or not.
Is Shyam's statement 100% correct or we need more information to deduce the truth of the statement? Answer: Shyam's statement is 100% correct!
Solution: Assume you are sorting the citizens according to the number of hairs on their heads. Then, you can imagine virtual bins with these number of hairs on their heads: 0, 1, 2, ...., 2, 00, 000 (for a total of 2, 00, 001 bins) But there are 1.23 crores of them and at least two should be in the same bin. This problem and solution are based on '
Pigeonhole principle'. There is nothing related to probability in this and Shyam's statement is 100% correct! In fact if we assume the total number of people in the city with at most 10, 000 hairs are 23, 00, 000, there will be at least two persons who have same number of hairs, the number being greater than 10, 000 hairs, on their heads. This is because, after taking away 23, 00, 000 people from 1.23 crore, we still have 1 crore people and 1, 90, 000 bins only (namely 10, 001, 10, 002, ..., 2, 00, 000)!
Similar Reads
Chimera - Genetics Chimera genetics refers to an organism containing cells with different genetic compositions. In genetics, human chimeras are individuals with cells from two or more genetically distinct sources. Identification of chimerism in humans involves genetic testing of multiple tissues or cells to detect var
10 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 sam
1 min read
Puzzle 43 | Muddy Heads A mother tells her two children, a boy and a girl, to play without getting dirty. However, while playing, both children get mud on their foreheads. The mother says âAt least one of you has a muddy foreheadâ. She then asks the children to answer âYesâ or âNoâ to the question: âDo you know whether you
2 min read
Puzzle - 3 Hats in a Circle Puzzle: Placed in a room without mirrors are three males who are not wearing glasses. They are each given a headgear that they are unable to see. The color of the hat is either red or green. They are not permitted to look at their own hats in any way, and they are not allowed to speak or interact wi
3 min read
Program to find the number of persons wearing white hat There are N persons in a room, each of them wearing a hat which is either black or white. Every person counts the number of other persons wearing the white hat. Given the number of counts of each person, the task is to find the number of persons wearing white hats, or print -1 if the given counts do
10 min read