In how many ways can $3$ boys and $2$ girls sit in a row, where none of the 3 boys can sit next to an another boy?

257 Views Asked by At

As I see it, the row can only be formed in that way : $BGBGB$ which means that there are $3!\cdot2! = 12$ ways but my book says that the answer is $24$. Am I missing something ?