Missing ranges
Given a sorted list of distinct integers inside a fixed range (for example 0 to 99), list the gaps. In the reported variant a gap of up to three numbers is written out number by number, while a longer gap is written as start->end.
No answer yet. Write the first one; the best answer gets endorsed.
