Function ADS::prefixRange

Function Documentation

inline std::pair<std::size_t, std::size_t> ADS::prefixRange(const std::vector<std::string> &A, std::string_view P)

the range [ l , r ) of the strings of the sorted A prefixed by P

Pre:

A is sorted (an audit)