Finding the minimum length RLE

后端 未结 4 1607
感动是毒
感动是毒 2021-02-04 17:05

The classical RLE algorithm compresses data by using numbers to represent how many times the character following a number appears in the text at that position. For example:

4条回答
  •  伪装坚强ぢ
    2021-02-04 17:48

    Very clever ways of finding matching substrings may lead to considering suffix trees and suffix arrays. Thinking about suffix arrays and compression may lead you to the http://en.wikipedia.org/wiki/Burrows%E2%80%93Wheeler_transform. That may be the most elegant way of souping up run length encoding.

提交回复
热议问题