Form Array by Concatenating Subarrays of Another Array

Form Array by Concatenating Subarrays of Another Array - Coding Problem | K5kC