Problem 900 · Medium

RLE Iterator

Consume a run-length encoded sequence lazily by skipping whole runs and shrinking the current one.

Open the interactive visualisation