Utility type to match T targets against C candidates to within buffer using O(T log C) time and O(C) space
targets
candidates
buffer