Question d’entretien chez Elbit Systems of America

Write a function to reverse a string