Counting pair of ordered subsets

36 Views Asked by At

enter image description here

Tried using basic manual counting, not able to proceed

1

There are 1 best solutions below

2
On

Hint:

The condition cannot be satisfied if $A$ contains numbers of distinct parity.

The same is true for $B$.