“…However, a canonical representation exists, as the list of (positive) differences from one set element to the next greater element. For instance, the set {1, 4, 9, 11} is uniquely represented by the list [1, 4 − 1, 9 − 4, 11 − 9], that is, [1,3,5,2]. This encoding is not only canonical, but also slighty more memory efficient than the usual sorted list representation, as the numbers stored in the list of differences are smaller than those stored in the sorted list.…”