Signet Research interview question

Asked me a question on Decoder and Encoder Strings i.e. AAAABBAACC - Encoded to A3B2A2C2 and then decode A3B2A2C2 back to AAAABBAACC .

Interview Answer

Anonymous

3 Mar 2020

Solved it using a single pass for loop for both questions.