Given a string of even size, say:
abcdef123456
How would I interleave the two halves, such that the same string would become
The solution is here J. Ellis and M. Markov. In-situ, stable merging by way of perfect shuffle. The Computer Journal. 43(1):40-53, (2000).
Also see the various discussions here: