Round Table Seating for an Offsite With Two Pairs Kept Apart

Last updated: November 29, 2026

Quick Overview

Eight members of a Meta product team sit at a round table for an offsite dinner, with rotations considered identical. Two pairs of people (a manager with a report under review, and two engineers mid-dispute) must not sit next to each other; how many seatings are valid?

Meta
Statistics & Math
Data Scientist
Meta
November 29, 2026
Data Scientist
Technical Screen
Statistics & Math
Medium

0

0

0 solved


Eight members of a Meta product team sit at a round table for an offsite dinner, with rotations considered identical. Two pairs of people (a manager with a report under review, and two engineers mid-dispute) must not sit next to each other; how many seatings are valid?

Data science technical screens at Meta often include a short counting problem that requires careful inclusion-exclusion rather than formula recall. The interviewer checks circular arrangement counting, the block method for adjacency, and an overlap term.

What the Interviewer Expects
  • Counts circular arrangements as (n-1)!
  • Treats an adjacent pair as a block with 2 internal orders
  • Applies inclusion-exclusion with the both-adjacent term
  • Arrives at 2,640
  • Verifies with brute force or a smaller case
Key Topics to Cover
Circular permutations
Inclusion-exclusion
Block method
Brute-force verification
How to Approach This
  1. Define your hypotheses (H0 and H1) clearly before performing any test.
  2. Calculate required sample size BEFORE running an experiment, using power analysis.
  3. Remember the Central Limit Theorem: sample means become approximately normal with large n.
  4. Watch for Simpson's paradox. Always segment data by key dimensions.
  5. Distinguish between statistical significance and practical significance.
Possible Follow-up Questions
  • What if reflections are also considered identical?
  • What is the probability a random seating is valid?
  • Extend to three forbidden pairs that share no person.
  • What if the two pairs share a person, say A must avoid both B and C?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Browse Statistics Questions
Sample Answer
Clarify

Eight distinct people at a round table, rotations identical, reflections distinct (a seating and its mirror are different). Forbidden adjacencies: pair P1={A,B}P_1=\{A,B\} and pair P2={C,D}P_2=\{C,D\}, with four ...

Approach

Total circular arrangements of nn people: (n−1)!(n-1)!. For "pair adjacent", glue the pair into a block with 2 internal orders and arrange n−1n-1 units in a circle: 2⋅(n−2)!2\cdot(n-2)!. Then inclusion-exclusio...


Submit Your Answer
Markdown supported