Factorize string into Lyndon words: Difference between revisions
Factorize string into Lyndon words (view source)
Revision as of 06:01, 31 January 2024
, 3 months ago→C: marked incorrect
(Add Scala implementation) |
(→C: marked incorrect) |
||
Line 15:
== [[C]] ==
{{incorrect|C|missing test cases and output}}
Copied from <ref name=":0" />, under Creative Commons Attribution Share Alike 4.0 International License.<syntaxhighlight lang="c">
vector<string> duval(string const& s) {
Line 37 ⟶ 38:
}
</syntaxhighlight>
=={{header|MATLAB}}==
|