MayStreet interview question

Debugging a comparator in C++