The correct option is D 2×(10!)2
Let the 10 white balls be arranged in 10! ways in an alternate manner, having a space of one ball in between
Now, the 10 black balls can be arranged in 10! ways, either starting as first ball or next to black ball from second place.
Total ways =10!×10!+10!×10!=2(10!)2
Alternate method :
Let 10 white balls be W1,W2,W3,...,W10
and 10 black balls be B1,B2,...,B10.
Since no two balls of same colour come together, balls should alter colour successively.
So,
(1) If arrangement starts with white coloured ball, then specific arrangement can be
W1B1W2B2...W9B9W10B10
Here white balls can be arranged between themselves in 10! ways.
and
Black balls can be arranged between themselves in 10! ways
∴ Number of ways for such arrangement =10!10!
(2) If arrangement starts with black coloured ball then specific arrangement can be
B1W1B2W2...B9W9B10W10
Here white balls can be arranged between themselves in 10! ways.
and
Black balls can be arranged between themselves in 10! ways
∴ Number of ways for such arrangement =10!10!
Hence, Required Number of ways = case1 + case2
=10!10!+10!0!
=2×10!10!
=2(10!)2