Question d’entretien chez TikTok

Given an integer, reverse it.

Réponse à la question d'entretien

Utilisateur anonyme

7 oct. 2024

I reversed it by turning it into a string and then iterating through it backwards and adding it ot a new string.