Playing Cogs got me wanting a few techniques.
Given the grid
ABC
DEF
(where F is blank)
I want to swap the AB pair and the DE pair simultaneously (swapping only one pair is impossible due to parity).
The best way to do this that I can see is EBA DFCA DEBCF.
To swap the AE pair and BC pair simultaneously, my solution is EBCFEB ADEB CFDA BEF
Any better ways to do these? Any advice on how to swap an arbitrary pair of pairs in an arbitrary shaped grid?
I'll probably add more tasks to this post as I find them...