Meta interview question

manipulate a string with operator "-"