Q. Five boys and five girls are writing an examination in a hall in which $5$ benches are arranged in a row and only two students are to be seated on every bench at either of its ends. If the seating arrangement is to be such that no two boys or no two girls sit together as neighbours (a student should not have a student of same gender either on left or right; immediate front or back), then the total number of such arrangements is
TS EAMCET 2020
Solution: