Help needed in a combinatorics problem
The problem is this
After going through the submitted solution, I found the answer is this-> w! * b! * (w -1)* C(w + b — 3, n — 3)
Can someone please explain how this solution is coming.
Thanks!