Algorithm Lab · difficulty 2 of 3
Run-length codec 📦
Compress repeated characters into letter plus count, and write the decoder too. Prove they round-trip.
Write it in the browser and press run. Real Python, checked against the expected output, no account needed.
Skills: functions, lists, strings