Suffix tree: Difference between revisions

m
(Added Elixir code for suffix tree construction)
 
(One intermediate revision by one other user not shown)
Line 73:
R
 
F f(Int n, String pre) -> NVoid
V children = @.nodes[n].ch
I children.empty
Line 1,562:
=={{header|Wren}}==
{{trans|Kotlin}}
<syntaxhighlight lang="ecmascriptwren">class Node {
construct new() {
_sub = "" // a substring of the input string
1,480

edits