Find gaps between intervals | Nuro Interview Question