Block interview question

The interview question is about string formatting and replacement.