Question d’entretien chez Philips

How to reverse a string with and without recursion