We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Suppose we want person A and person B to sit together. The only way that the 2 people sit together is if person B either sits to either the right or left of person A (& vice versa, considering one situation is enough) Person B has 9 seats to choose but can only sit next to Person A if they choose the 2 seats right next to them so its 2/9
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Day 3: Basic Probability Puzzles #5
You are viewing a single comment's thread. Return to all comments →
Suppose we want person A and person B to sit together. The only way that the 2 people sit together is if person B either sits to either the right or left of person A (& vice versa, considering one situation is enough) Person B has 9 seats to choose but can only sit next to Person A if they choose the 2 seats right next to them so its 2/9