Knowledge / Placement essentials (aptitude, reasoning, verbal, communication, interviews, Excel, workplace) / Floor, box and scheduling puzzles

Floor, box and scheduling puzzles

Placement essentials (aptitude, reasoning, verbal, communication, interviews, Excel, workplace) (All) · Logical reasoning · free study notes for exams, placements and interviews

In short

Floor, box and scheduling puzzles give a set of people or objects, a set of ordered positions (floors of a building, boxes in a stack, days of a week, dates in months) and a list of clues, from which exactly one arrangement must be deduced. They are linear-order puzzles: unlike circular seating, every position has a fixed number and a fixed "above/below" or "before/after" relation, so the whole puzzle reduces to placing names on numbers 1 to n. They are the highest-weight single item in the reasoning section of IBPS PO/Clerk, SBI, RBI Grade B, NABARD, LIC and insurance exams (usually several five-question sets, though the mix varies year to year), and they also appear in CAT/XAT analytical reasoning, SSC CGL, RRB NTPC, state PSC papers, the GATE General Aptitude section, and in campus tests such as TCS NQT, Infosys, Wipro NLTH, Cognizant, Capgemini, Accenture, AMCAT, eLitmus and CoCubes. Interviewers use a shortened version as a thinking-aloud test, because the method — fix what is certain, branch what is not, eliminate — is exactly how a developer or analyst narrows down a defect or a data discrepancy.

Explained

The standard setups and the numbering convention

Reading the clue language exactly

The solving method, step by step

  1. Count the positions and the names. If they are equal, every position is filled and every name used exactly once - the strongest fact in the puzzle.
  2. Write a frame with position numbers and leave slots for the extra variables (age, colour, salary) as separate columns.
  3. Place all definite clues first - "T is on the top floor", "R is on Tuesday", "only one person is below C". These need no assumption.
  4. Take the most restrictive floating clue next - usually a fixed-distance pair or a block of two adjacent people. List its possible placements; each becomes Case 1, Case 2, Case 3.
  5. Propagate inside each case until it either completes or contradicts a clue. Strike out contradicted cases with a reason written beside them, so a later clue is not mis-tested.
  6. Apply negative and conditional clues last; they kill cases rather than build them.
  7. Stop when exactly one case survives, then read the answers off the frame. Answer "cannot be determined" only if two surviving cases disagree on that specific question - they may agree on some questions and differ on others.
  8. Verify once by reading each clue against the final frame. One pass costs about 20 seconds and catches the single misread clue that destroys all five marks of the set.

Box and stack puzzles, and second variables

Scheduling puzzles: days, dates and months

Double lineups and the elimination grid

Exam strategy

Key points

Formulas and examples

Persons strictly between positions i and j = |i − j| − 1
If exactly k persons lie between A and B, then |pos(A) − pos(B)| = k + 1
"A is d floors above B" → pos(A) = pos(B) + d, with pos counted from the bottom
"Only p persons above X" in an n-floor building → pos(X) = n − p; "only p below X" → pos(X) = p + 1
"At least p above X" → pos(X) ≤ n − p; "at least p below X" → pos(X) ≥ p + 1
Number of placements of an ordered pair with position difference d in n slots = n − d (double it if the order of the pair is not fixed)
Total arrangements of n persons in n slots with no constraint = n!
Arrangements with two named persons adjacent = 2 × (n − 1)!
Weekday after k days = given weekday shifted by (k mod 7)
Clue wordingMeaning in positions
A is immediately above Bpos(A) = pos(B) + 1
Two persons live between A and B\pos(A) − pos(B)\= 3
Only three persons live above Apos(A) = n − 3
At least two persons live below Apos(A) ≥ 3
A lives above Bpos(A) > pos(B), distance unknown
As many above A as below Bn − pos(A) = pos(B) − 1

Example 1 - seven-floor puzzle. A, B, C, D, E, F, G live on floors 1 (bottom) to 7 (top), one person per floor. (i) Three persons live between A and G, and A lives above G. (ii) A does not live on the topmost floor. (iii) B lives immediately below E. (iv) Only one person lives below C. (v) D lives on an even-numbered floor, above F.

Floor7654321
PersonEBADFCG

Answers: floor 4 → D; persons between C and A → floors 3 and 4 → 2; immediately above A → B; who is on the topmost floor → E.

Example 2 - box stack with weights. Five boxes - Red, Blue, Green, White, Black - are stacked (1 bottom to 5 top) and weigh 5, 8, 12, 15 and 20 kg in some order. (i) The Green box is immediately above the heaviest box. (ii) The Black box is at the top and weighs 12 kg. (iii) The box at the bottom weighs 8 kg. (iv) Blue is lighter than White, and both lie below Green. (v) The Red box weighs 5 kg. (vi) Red is immediately below Black.

Position54321
BoxBlackRedGreenWhiteBlue
Weight (kg)12515208

Total weight = 12 + 5 + 15 + 20 + 8 = 60 kg; boxes heavier than Green = White only → 1.

Example 3 - day scheduling. P, Q, R, S, T, U, V are interviewed on Monday to Sunday, one each day. (i) Exactly two interviews fall between S and V, S before V. (ii) T is interviewed on the last day. (iii) Q is immediately after P. (iv) R is on Tuesday. (v) U is before R.

Order: Mon U, Tue R, Wed S, Thu P, Fri Q, Sat V, Sun T. Interviews between R and Q = Wed, Thu = 2; third interview = S.

Example 4 - date and month scheduling. K, L, M, N, O, P travel on the 10th and 21st of April, July and September - six chronological slots. (i) Exactly three persons travel between K and L, K before L. (ii) N travels on the 21st of a 31-day month. (iii) M travels immediately before O. (iv) Only one person travels before M.

Answer: K 10 Apr, M 21 Apr, O 10 Jul, N 21 Jul, L 10 Sep, P 21 Sep. Who travels last → P; persons between M and L → O, N → 2.

Example 5 - counting arrangements. Six persons live on six floors; A lives exactly 2 floors above B. How many arrangements are possible?

Where it is used

Interview questions

Common mistakes

Related topics

Seating arrangement and puzzles · Inequalities · Blood relations · Data sufficiency · Direction sense · Calendars, clocks and time-based reasoning

Open in the Knowledge reader →Find jobs →