Question d’entretien chez RedMane Technology

Write a method to reverse a string