Pregunta de entrevista de Microsoft

Reverse an integer

Respuesta de la entrevista

Anónimo

31 mar 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 )