diff options
| -rw-r--r-- | challenge-018/jaime/perl5/ch-1.pl | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/challenge-018/jaime/perl5/ch-1.pl b/challenge-018/jaime/perl5/ch-1.pl new file mode 100644 index 0000000000..b5cd68a3c6 --- /dev/null +++ b/challenge-018/jaime/perl5/ch-1.pl @@ -0,0 +1,8 @@ +# +# # Challenge #1 +# +# Write a script that takes 2 or more strings as command line parameters +# and print the longest common substring. For example, the longest +# common substring of the strings “ABABC”, “BABCA” and “ABCBA” is string +# “ABC” of length 3. Other common substrings are “A”, “AB”, “B”, “BA”, +# “BC” and “C”. |
