closest-sum-pair-0.4.1 has been yanked.
closest_sum_pair
Fast. Clever. Free of Recursion. No while bound loops, so least runtime strikes.
As it expects unsorted list, The time complexity is O(NlogN). Space complexity O(1).
Quick Start
The find_pair method expects a list (can be vec or array), and your desired sum.
If there is no exact match, it will return the closest sum possible.
use find_pair;
version note: Made the api easier to use.