NVIDIA interview question

How will you reverse a string which has numbers and alphabets.