Problem 604 · Easy

Design Compressed String Iterator

Iterate over a compressed string of character and count pairs one character at a time, without ever building the full expansion. The visual shows a cursor advancing through the runs and a remaining-count display for the current run.

Open the interactive visualisation