Suffix tree: Difference between revisions
Content deleted Content added
SqrtNegInf (talk | contribs) m →{{header|Perl}}: Fix link: Perl 6 --> Raku |
SqrtNegInf (talk | contribs) m →{{header|Sidef}}: Fix link: Perl 6 --> Raku |
||
Line 1,065: | Line 1,065: | ||
=={{header|Sidef}}== |
=={{header|Sidef}}== |
||
{{trans| |
{{trans|Raku}} |
||
<lang ruby>func suffix_tree(Str t) { |
<lang ruby>func suffix_tree(Str t) { |
||
suffix_tree(^t.len -> map { t.substr(_) }) |
suffix_tree(^t.len -> map { t.substr(_) }) |