There are 6 persons seating on a round table in which two individual have the same names. What is the probability that the two same-named individuals will be neighbors?
Solution(Method 1): Total no of ways in which 6 persons can sit on a round table is (6-1)! = 5! = 120.
If we consider two same-named individuals as one person there are 5 persons who can sit in (5-1)! ways and these individuals can be seated together in 2! ways.
So, required probability =(2*(5-1)!)/(6-1)!= 2/5.
So, the answer is 2/5 = 0.4.
Solution(Method 2): We fix one of the same name guy in any position. Now we are left with 5 places out of which 2 can be seated neighbor.
Therefore, the answer is 2/5 = 0.4.
Don’t stop now and take your learning to the next level. Learn all the important concepts of Data Structures and Algorithms with the help of the most trusted course: DSA Self Paced. Become industry ready at a student-friendly price.
- Puzzle | (Round table coin game)
- Seating arrangement of n boys and girls alternatively around a round table
- Puzzle | 3 cuts to cut round cake into 8 equal pieces
- Seating arrangement of N boys sitting around a round table such that two particular boys sit together
- LCM of factorial and its neighbors
- Multiplication table till N rows where every Kth row is table of K upto Kth term
- Fill array with 1's using minimum iterations of filling neighbors
- Puzzle 51| Cheryl’s Birthday Puzzle and Solution
- Puzzle 15 | (Camel and Banana Puzzle)
- Puzzle | 3 Priests and 3 devils Puzzle
- Puzzle 34 | (Prisoner and Policeman Puzzle)
- Puzzle 81 | 100 people in a circle with gun puzzle
- Puzzle 85 | Chain Link Puzzle
- Round the given number to nearest multiple of 10 | Set-2
- Round the given number to nearest multiple of 10
- Puzzle 24 | (10 Coins Puzzle)
- Puzzle 27 | (Hourglasses Puzzle)
- Puzzle 39 | (100 coins puzzle)
- Puzzle 36 | (Matchstick Puzzle)
- Puzzle 33 | ( Rs 500 Note Puzzle )
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.
Improved By : kautilya