Seating Arrangement Puzzle Solver
Add clues such as "B sits immediately right of A" for a row or round table, see every arrangement that fits, how many each clue removes, and generate puzzles.
Runs in your browser. Your files never leave your device. See how to check
…
How to do it
- 1List the people
Type names or letters separated by spaces.
- 2Choose the layout
Pick a row facing north or a round table facing the centre.
- 3Add clues
Choose a clue type, the people and the number, then press Add clue.
- 4Read the table
See how many arrangements remain after each clue.
- 5Read the answers
Look at the arrangements and the neighbours of the chosen person.
- 6Generate and practise
Load a new puzzle or use the Practice tab.
About this tool
Seating arrangement puzzles are among the longest questions in reasoning tests: several people sit in a row or around a table, a list of clues fixes their places, and five questions follow. Solving them means testing cases carefully and noticing when a clue leaves two possibilities. This solver checks every possible arrangement against your clues, so it never misses a case. Choose a row facing north or a round table facing the centre, list the people, and add clues from a menu: immediately left or right of, next to or not next to, k-th to the left or right, k people between, between two people, at an end, k-th from an end, or opposite. The tool shows every arrangement that fits, a table of how many arrangements remain after each clue, and the neighbours of any person. A generator builds new puzzles with exactly one solution.
Who it is for
Candidates for bank PO, SSC, CAT and placement reasoning tests, puzzle fans, and teachers who need fresh puzzles with guaranteed unique answers.
Left and right conventions
In a row facing north, a person's left is your left as you look at the diagram, and seat 1 is the left end. At a round table with everyone facing the centre, a person's left is the next seat clockwise. These are the standard conventions in reasoning tests; the diagrams label them so there is no doubt. Round-table arrangements are counted once for all rotations.
How the solver works
It generates every possible seating (720 for six people in a row, 5,040 for eight at a round table) and keeps those that satisfy all the clues. The elimination table shows how many arrangements survive after each clue, in order, and marks clues that removed nothing. That is useful when designing puzzles and for spotting which clue is the key one.
Answering the questions
Once only one arrangement is left, every question can be read from the diagram. If several remain, the tool shows them all, and the neighbours of the chosen person are listed for each, so you can see whether a question has a definite answer or "cannot be determined".
Worked example
Six people A to F sit in a row facing north. A sits at an end, B is immediately right of A, two people sit between C and B, D does not sit next to E, F is third from the left and E sits next to C. The table shows 720 seatings falling to 240, 24, 6, 4 and finally 2: A B F D C E and A B F E C D. The question "who sits at the right end?" therefore cannot be answered yet. Adding the clue "D sits at an end" leaves only A B F E C D.
Generating puzzles
The new puzzle buttons create rows of 5 or 6 and round tables of 6 or 8. Clues are added only if they remove arrangements, until exactly one remains, so every generated puzzle is solvable without guessing.
Limits
The solver handles one row or one round table of up to nine people, without extra attributes such as professions or colours; for those, solve the seating first and then add the attributes by hand. Clues facing outwards or with two rows facing each other are not supported yet.
Worked example
Six clues cut 720 seatings to 2 (A B F D C E and A B F E C D); one more clue makes it unique.
Quick facts
- Category: Study & Education
- Works in your browser, no sign-up, no upload.
- Your input stays on your device.
- Available in English.
- Content last reviewed:
- Official source: Constraint satisfaction by exhaustive search (Russell and Norvig, Artificial Intelligence: A Modern Approach, chapter 6)
Frequently asked questions
Which way is left at a round table?
With everyone facing the centre, a person's left is the next seat clockwise. Facing outwards it would be the opposite.
How are rotations counted?
Arrangements that are rotations of each other around a table are counted once, because only relative positions matter.
What does the elimination table show?
How many arrangements are still possible after each clue, in the order you entered them. A clue with no effect is marked.
What if more than one arrangement remains?
The puzzle needs more clues. All remaining arrangements are drawn, so you can see which questions still have a definite answer.
How many people can I use?
From two to nine. Beyond that, checking every arrangement would be too slow in a browser.
Are generated puzzles always solvable?
Yes. Clues are added until exactly one arrangement is left.
