Versions in this module Expand all Collapse all v0 v0.2.0 Apr 21, 2021 v0.1.0 Aug 9, 2020 Changes in this version + func ContainsSingle(a SortedInts, x int) bool + func ContainsSorted(a, b SortedInts) bool + func IntersectionSize(a, b SortedInts) int + type SortedInts []int + func Complement(n int, a SortedInts) SortedInts + func Intersection(a, b SortedInts) SortedInts + func NewSortedInts(x ...int) SortedInts + func Range(start, end, step int) SortedInts + func SetMinus(a, b SortedInts) SortedInts + func Union(a, b SortedInts) SortedInts + func XOR(a, b SortedInts) SortedInts + func (s *SortedInts) Add(x ...int) + func (s *SortedInts) Remove(x int) + func (s *SortedInts) Union(b SortedInts)