As shown in this movie clip there are 20 cards placed in a row, all face down. Now select one face down card and turn it over, but the card right to it has to be turned over too. Then go onto another face down card and repeat the same procedure. What the problem says is that after a number of operations, eventually all cards will end up being face up.
Note that this is going to be valid for any number of cards...
Nathan provides an elegant solution.... Can anyone think of an alternative?
Note that this is going to be valid for any number of cards...
Nathan provides an elegant solution.... Can anyone think of an alternative?