19
2
With the given text below, there are some words in the text that repeats several times in the text. Use any programming language to write a short code that compresses the text to display it. Or in other words, use the smallest number of bytes to display the text.
The Text is:
Peter Piper picked a peck of pickled peppers.
A peck of pickled peppers Peter Piper picked.
If Peter Piper picked a peck of pickled peppers,
Where's the peck of pickled peppers Peter Piper picked?
6I'm honestly surprised this didn't get closed as a dupe of that Rick-Roll question. Are we not doing that anymore? – Jo King – 2018-10-15T12:00:37.503
1@JoKing it is a different string. A little variety on the same challenge can be fun sometimes. – moonheart08 – 2018-10-15T17:23:32.820
@moonheart08 pretty sure that point was shot down in meta. – Magic Octopus Urn – 2018-10-16T18:34:23.103