[Probability] There are four people in a room that haven't met before. They are told to shake hands, exactly once, of every other person in the room so that they all meet each other. If each of these people shake their hands with every other person exactly once then how many handshakes are going to occur?

Data Science Interview QuestionsCategory: Data Science[Probability] There are four people in a room that haven't met before. They are told to shake hands, exactly once, of every other person in the room so that they all meet each other. If each of these people shake their hands with every other person exactly once then how many handshakes are going to occur?
8 Answers
MockInterview Staff answered 5 years ago
mval answered 2 years ago
K answered 2 years ago
K answered 2 years ago
K answered 2 years ago
K answered 2 years ago
VIJAY BHARGAV KARNATI answered 8 months ago

6. The number shake hands that we get for a single person where n = 3 is 2 i.e n-1. SO we multiply with the number of members with n-1 = n*(n-1). where as the to avoid double hand shakes we divide by 2. n*(n-1)/2 = 3(3-1)/2 = 3*2/2=3

Your Answer

8 + 19 =