Edwards Lifesciences interview question

How do you reverse a string? What is a hash map?