A-B-B-A-B-A (repeat)
Originally Posted by nonoob A-B-B-A-B-A (repeat) Nice. A cyclic permutation as mentioned by the OP, but scalable and able to handle forks and joins.