Salesforce interview question

Puzzle, Programming question on Strings