Shelving books so no two novels touch
You shelve distinct math books and distinct novels in a row so that no two novels are next to each other.
How many arrangements are possible?
Your answer
Solving needs a free account
Answers, streaks and solutions unlock when you are signed in. Reading the question and the hint stays free.
Discussion
Sign in to join the discussion · reading is open to everyone
💡 Discussion rules
- No full solutions here. Hints and approaches only.
- Complexity, edge cases and intuition are the point.
- Interview experiences are welcome. Respect your NDAs.
Loading discussion…
Learn the concepts
The theory behind this question.
Related questions
A row of seven with two friends togetherShelving five books with two kept apartSix in a row with three siblings togetherA photo of four boys and four girls alternatingSix rolls, all six faces
All questions →