VC dimension of intervals and their complements (source code)

= VC dimension of intervals and their complements
{c}

Intervals together with their label complements shatter three ordered points, but cannot realize an alternating labeling on four, so their VC dimension is three.