by Hen Hedymdeith @alfaproxima
Given a string
sequence of a letters f.e. AAABCCXXXXXXY
. Return run-length encoded string 3AB2C6XY
.
Also make a decoder for that string.
by Hen Hedymdeith @alfaproxima
Given a string
sequence of a letters f.e. AAABCCXXXXXXY
. Return run-length encoded string 3AB2C6XY
.
Also make a decoder for that string.