Maveric Systems interview question

reversing a string without using length