Seven persons- J, K, L, M, N, P and Q are purchasing some products one after another but not necessarily in the same order.
Three persons purchased products between N and Q.
Two persons purchased products between Q and L.
N purchased product before Q.
Case 1 | Case 2 | Case 3 |
Person | Person | Person |
N | | |
L | N | |
| L | N |
| | L |
Q | | |
| Q | |
| | Q |
P purchased product immediately after K.
Only one person purchased product between P and J.
Thus, Case 3 gets cancelled.
Case 1 | Case 2 |
Person | Person |
N | |
L | N |
K | L |
P | K |
Q | P |
J | Q |
| J |
M was not the last person to purchase the product.
Thus, Case 1 gets cancelled.
This is the final arrangement.
Except NQ, in all other pairs first person purchased immediately before the second person.