interleaving array -- microsoft