Qualcomm interview question

How to reverse a string in 5 different ways