Clairvoyant interview question

Reverse string with out using split