Zilingo interview question

F2F - 1. Some string replacement question.