Problem Statement
Five in a row facing north: L, M, N, O, P. L is at one end. N is to the immediate left of O. P is not at any end. Who sits at the other end?
Explanation
Place L at left end (wlog). N immediately left of O ⇒ pattern N O consecutive. P not at any end ⇒ P is middle or near-middle. A consistent fill is: L M P N O, putting **M** at the other end. (If L were at right end instead, the mirrored arrangement still makes the other end M.)
Code Solution
SolutionRead Only
One valid: L M P N O ⇒ other end = M
Practice Sets
This question appears in the following practice sets:
