JLR Interview Question

Invert a string without reverse.