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.
Since the tables are in a circle, there are 10 adjacent pairs of seats that can be chosen, 2 ways to order the particular people in that pair and 8! ways to seat the remaining 8 people. There are 10! ways to seat the people without restrictions.
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 →
Since the tables are in a circle, there are 10 adjacent pairs of seats that can be chosen, 2 ways to order the particular people in that pair and 8! ways to seat the remaining 8 people. There are 10! ways to seat the people without restrictions.