diff options
Diffstat (limited to '022/ch2.pl')
-rw-r--r-- | 022/ch2.pl | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/022/ch2.pl b/022/ch2.pl new file mode 100644 index 0000000..6f2cd4a --- /dev/null +++ b/022/ch2.pl @@ -0,0 +1,12 @@ +#!/usr/bin/env perl +# +# Write a script to implement Lempel–Ziv–Welch (LZW) compression algorithm. The +# script should have method to encode/decode algorithm. The wiki page explains +# the compression algorithm very nicely. +# +# (https://en.wikipedia.org/wiki/Lempel%E2%80%93Ziv%E2%80%93Welch). +################################################################################ + +use strict; +use warnings; + |