Multi-Dimensional Data Study Guide
Author: Kartik Kapur

Check-in Exercise

Additional Set Operations There are many other operations we might be interested in supporting on a set. For example, we might have a select(int i) method that returns the ith smallest item in the set. Or we might have a subSet(T from, T to) operation that returns all items in the set between from and to. Or if we have some notion of distance, we might have a nearest(T x) method that finds the closest item in the set to x.