What it is
This is practice for row seating. Each question is a new puzzle built by code. It is checked against every possible arrangement, so it always has exactly one answer. Use it after the "people in a row" lesson.
How to solve it
- Draw numbered seats, 1 at the left end. Everyone faces north unless told otherwise, so their right is your right.
- Place fixed clues first: "at one of the ends", "in the middle", "3rd from the left end".
- Then the linked clues: "immediately to the right of", "second to the left of".
- "Does not sit next to" clues usually decide the last two places.
- If two places are possible, draw both rows and let a later clue remove one.
Tips and shortcuts
- "At one of the ends" gives two cases. Keep both until a clue settles it.
- "Second to the right of Y" means skip one seat to Y's right.
- Count seats, not people, for "how many sit between".
- Check every clue against the final row before answering.
Solved examples
Example 1 (easy)
A, B, C, D and E sit in a row facing north. E is 4th from the left end. A sits at one of the ends. D sits immediately to the right of A. A does not sit next to E. B sits second to the left of C. Who is at the right end?
E = 4. A at an end: if A = 5, A is next to E, which isn't allowed. So A = 1 and D = 2. B and C take 3 and 5; B is second to the left of C, so B = 3, C = 5. Row: A D B E C. C.
Example 2 (medium)
From Example 1: who sits between D and E?
Seat 3: B.
Example 3 (hard)
P, Q, R, S, T and U sit in a row facing north. P is at the left end. S is at the right end. R is 5th from the left. T sits second to the left of S. T sits second to the right of U. Who sits immediately to the left of Q?
S = 6, so T = 4 and U = 2. R = 5. Q takes seat 3. Left of Q: seat 2, U.
Example 4 (medium)
From Example 3: how many people sit between P and T?
Seats 2 and 3: 2.
Example 5 (easy)
From Example 3: who sits in the middle two seats?
Seats 3 and 4: Q and T.