Amazon Interview Question

How do you reverse a string efficiently?