Https://practice.geeksforgeeks.org/problems/geek-and-its-colored-strings/0

https://practice.geeksforgeeks.org/problems/geek-and-its-colored-strings/0

Not able to think of the solution as i am weak in permutation ansd combination please tell me how to to solve it