Combinatoricshard
0:00.0

How many ways can 5 distinct books be arranged on a shelf such that no two books of the same subject (assume 2 Math, 3 Physics) are adjacent?