Skip to content

Commit d0a303e

Browse files
committed
[rosalind] Add short docs about TRIE problem
1 parent 79046c2 commit d0a303e

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

categories/rosalind/trie-grondilu.pl

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,31 @@
11
use v6;
22

3+
=begin pod
4+
5+
=head1 Introduction to Pattern Matching
6+
7+
L<http://rosalind.info/problems/trie/>
8+
9+
Sample dataset:
10+
11+
ATAGA
12+
ATC
13+
GAT
14+
15+
Sample output:
16+
17+
1 2 A
18+
2 3 T
19+
3 4 A
20+
4 5 G
21+
5 6 A
22+
3 7 C
23+
1 8 G
24+
8 9 A
25+
9 10 T
26+
27+
=end pod
28+
329
my Int $node = 1;
430

531
sub trie(@string is copy, $root = $node) {

0 commit comments

Comments
 (0)