Full Spectrum Subarrays - Coding problem | OneNoughtOne