Factorize string into Lyndon words: Difference between revisions

→‎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}}==
7,803

edits