Question d’entretien chez Prometheus Group

Write pseudocode to reverse a string.