Lyndon prefix (source code)

= Lyndon prefix
{c}

A prefix of a word that is itself a <Lyndon word>. The longest Lyndon prefix is useful when ranking necklaces and substrings of a <De Bruijn sequence>.