Artificial intelligent assistant

Number of ways in which boys and girls sit alternately if six boys and six girls sit randomly? > Six boys and six girls sit in a row randomly. What is the total number of ways in which the boys and the girls sit alternately? My attempt: Consider these six seats _ _ _ _ _ _ The number of ways to arrange 6 boys in 6 places is 6! Now 7 gaps are created between these 6 seats. So, we can select any 6 of these 7 gaps and make girls sit there. There are 7C6 * 6! ways to do that (since the girls can shuffle amongst themselves). Hence the total number of ways to make boys and girls sit alternately should be 6! 7C1 * 6! but the answer is 2*6!*6!. What am I missing here?

You are implicitly assuming that there are 13 seats for $6+6=12$ people. It is likely that the original question is making the implicit assumption that there are only 12 seats. In this latter case, when a boy sits first, there $6! \cdot 6!$ ways to sit the others. Multiply this by 2 to cover the case where the first seater is a girl.

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 8cbf1b9637a4f006b91238b306f6f67b