Find missing ranges in interval | Meta Interview Question