We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79046c2 commit d0a303eCopy full SHA for d0a303e
categories/rosalind/trie-grondilu.pl
@@ -1,5 +1,31 @@
1
use v6;
2
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
29
my Int $node = 1;
30
31
sub trie(@string is copy, $root = $node) {
0 commit comments