I got asked this exact same question and could not complete it. https://leetcode.com/problems/missing-ranges/