InterviewDB Question

Encoder: Implement a Run-Length and Custom Encoding Scheme for Strings

Question Details

Problem Implement a two-pass encoder/decoder. Given a string, first apply run-length encoding (consecutive repeated chars become char+count), then apply a substitution cipher where each encoded character is shifted by its 1-based position in the outp…

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Coding Onsite Phone