I would really appreciate a detailed explanation of what the problem is asking to do. Some questions such as,
- Can there be only girl or only boy present?
- Do we just need to take orientation into consideration, like in 2 boys 1 girl there’s only “2 boys then 1 girl” or “1 boy 1 girl then 1 boy” also?
Thanks.