Friday, July 23, 2010

Merge inplace

Given an array a1a2a3a4......anb1b2b3b4.......bnc1c2c3c4........cn
can you merge inplace and obtain
a1b1c1a2b2c2a3b3c3............................anbncn

No comments:

Post a Comment