Function ADS::leastRotation

Function Documentation

inline std::size_t ADS::leastRotation(std::string_view S)

the start of the least rotation of S, 0 if S is empty

Post:

no rotation is smaller (an audit)