Tag: dotnet

You have 10 red and 10 black marbles…
You have 10 red and 10 black marbles. In how many ways can you put the 20 marbles in a row so that no more than two marbles of the same colour lie next to each other? An example of a valid sequence would be: Can you reason your way out of this one or…