โ† Expedia questions

Run length encoding and decoding

Filed under Expedia

Implement run-length encoding and decoding functions. Compression replaces consecutive repeating characters with the character followed by its count (e.g., "wwwwaaadexxxxxx" becomes "w4a3d1e1x6").

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Expedia questions

Collected from public candidate posts and coding forums. Updated Nov 2026.