Puzzle sms1000


What is the next line in this pattern below , and explain how did you find the result :

1
1 1
2 1
1 2 1 1
1 1 1 2 2 1
.
.
.
Answer is:
It is LZ algorithm
Next line is pairs (count, digit) for sequence of digits in previous line.
3 1 2 2 1 1

Related Posts: