Question d’entretien chez Qualcomm

How to reverse a string in 5 different ways