Minimum Interval Coverage - Coding problem | OneNoughtOne