The number of ways, in which the letters A, B, C, D, E can be placed in the 8 boxes of the figure below so that no row remains empty and at most one letter can be placed in a box, is :

From the JEE Main 2025 · 2 Apr · Shift 2 paper. Try it, check your answer, then read the worked solution below.
The number of ways, in which the letters A, B, C, D, E can be placed in the 8 boxes of the figure below so that no row remains empty and at most one letter can be placed in a box, is :

Try it yourself first, then check your working against this.
Worked solution
The rows hold 3, 3 and 2 boxes. Choose 5 boxes (one letter each) with every row used, then arrange the letters in ways.
Choosing boxes. in all. Leaving out a 3-box row leaves exactly 5 boxes: 1 way for each such row, so 2. Leaving out the 2-box row leaves 6 boxes: . Two rows cannot both be empty. So .
Answer. .
(C)
Concepts used: complementary counting for empty rows
Every past question tagged to the same part of the syllabus, with solutions.
Past questions on the same topic (Distribution and arrangements), each with a worked solution.
Timed, in the real format, and marked the moment you submit.