Qualcomm interview question

Reverse a string, hash map based questions