Question d’entretien chez Microsoft

Reverse an integer

Réponse à la question d'entretien

Utilisateur anonyme

31 mars 2019

1- use modulo 10 to get the least significant digit 2- multiply result with 10 and add the least significant digit 3- keep doing it until done with all numbers (coefficient is zero )