Samsung Research America interview question

Basic string manipulation question - reversing, lower/upper casing words in a sentence etc'.