// Signature must be retained. Implementation must be added. #ifndef SEARCH_H #define SEARCH_H #include "Exceptions.h" #include "ResizableArray.h" #include "Comparator.h" // returns FIRST array location matching the given item (based on the comparator) // if not found, returns -(location to insert + 1) template long long binarySearch(const T& item, const ResizableArray& array, const Comparator& comparator) { // implementation goes here #endif