Name: Anonymous 2012-02-16 17:28
Implement a correct and working binary search algorithm in your language of choice. Be clever. I know you can make your code interesting.
void *BinarySearch(const void *key, const void *base, size_t nel, size_t width, int (*compar)(const void *, const void *)) {
return bsearch(key, base, nel, width, compar);
}