In a class of 20 students having 20 chairs in 5 rows of 4 each. If the class has 10 boys and 10 girls, in how many ways, can the student's be placed in the chair's such that no boy is sitting in front of, behind, or next to another boy and no girl is sitting in front of, behind or next to another girl.
Please explain in detail.
Since I had just started this I am having no ideas about permutation formulas so please explain this answer by logical thinking. Please NOTE:-I am just a highschool student seeking help from teachers. So please be calm and don't close my question