TheAlgorithms/C++ 1.0.0
All the algorithms implemented in C++
|
string manipulation algorithms More...
Functions | |
template<typename T > | |
size_t | duval (const T &s) |
Find the lexicographically smallest cyclic shift of a sequence. | |
string manipulation algorithms
for std::array for assert for std::size_t for std::deque for std::cout and std::endl for std::string for std::vector
size_t string::duval | ( | const T & | s | ) |
Find the lexicographically smallest cyclic shift of a sequence.
T | type of the sequence |
s | the sequence |
Definition at line 49 of file duval.cpp.