ReasoningVery hardTCS NQT Digital · CAT · Bank mains

8 boxes (Violet, Pink, White, Yellow, Black, Blue, Red, Green) are stacked one above another in a single vertical pile, one box per level; the stack is described from the bottom up. The White and Blue boxes are not directly adjacent. Exactly 3 boxes lie between the Yellow and Black boxes. The White box is neither at the very top nor at the very bottom. The Green box is at the very top of the stack. The Blue box lies somewhere below the Pink box. Exactly 1 box lies between the White and Yellow boxes. The White box lies somewhere below the Red box. If the Violet box is at the very top of the stack, then the Yellow and Green boxes are not directly adjacent; otherwise, the Yellow box lies directly below the Blue box. How many boxes lie between the Violet and Yellow boxes?

  1. A. 1
  2. B. 4
  3. C. 5
  4. D. 2

Correct answer: D. 2

Combining the clues with case analysis (anchor the most restrictive clues first, then use the negative clues to eliminate), exactly one arrangement survives. Order (bottom to top): Black, Violet, White, Red, Yellow, Blue, Pink, Green. In the conditional clue the condition "the Violet box is at the very top of the stack" is false, so its 'otherwise' part "the Yellow box lies directly below the Blue box" applies. Hence the answer is 2.

More Seating Arrangement and Puzzles questions

Exams that ask this topic