Question d’entretien chez Publicis Sapient

some simple algorithmic questions , reverse a string types