You could look here, part of the Stony Brook Algorithm Repository. They even have implementations.
In reply to Re: Divide array of integers into most similar value halves
by swampyankee
in thread Divide array of integers into most similar value halves
by Pepe
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |