Question d’entretien chez Cosmic365AI

How would you reverse a string in your preferred programming language?