Ten people- J, K, L, M, N, V, W, X, Y and Z work in three different departments viz, Sales, Marketing and HR.
Not less than two and not more than five people can work in each department.
N works with W and Y.
V neither works with Y nor in Marketing department.
| Case 1 | Case 2 | Case 2a | Case 3 |
Departments | People | People | People | People |
Sales | NWY | V | | V |
Marketing | | NWY | NWY | |
HR | V | | V | NWY |
J works in Sales department. J works with K.
| Case 1 | Case 2 | Case 2a | Case 3 |
Departments | People | People | People | People |
Sales | NWYJK | VJK | JK | VJK |
Marketing | | NWY | NWY | |
HR | V | | V | NWY |
L works only with M. Thus, case 2a is invalid.
| Case 1 | Case 2 | Case 3 |
Departments | People | People | People |
Sales | NWYJK | VJK | VJK |
Marketing | LM | NWY | LM |
HR | V | LM | NWY |
More than two people work in HR department. Thus, case 2 is invalid.
Z neither works in Marketing nor with N.
X works with K but not in HR department. Thus, case 1 is invalid.
Therefore, the final arrangement is:
Departments | People |
Sales | VJKZX |
Marketing | LM |
HR | NWY |
X and V work in the same department. W and Y work in the same department.
Similarly, J and Z work in the same department.