Problem 471 · Hard
Encode a string with shortest possible length considering repetitions and subproblems.
Open the interactive visualisation