DIY: Decoding a String

Solve the interview question "Decoding a String" in this lesson.

Problem statement

Given an encoded ...