Shunting Trains 2:   S o l u t i o n   o f   t h i s   E x a m p l e

The previous example can be done in 10 steps as follows:

Then we change direction and proceed four steps in the other direction:

Then we switch directions again:

And finally, one more switch of direction:


Erich Prisner 2002-2013