Form Array by Concatenating Subarrays of Another Array - DSA Problem | Talentd