Month: February 2017

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

Posted in Code, developerslifestyle, Searchtree Tagged with: ,