Pregunta de entrevista de Intel Corporation

Implement int.ToString(), i.e. implement a function that receives an integer and returns a string representing that integer, without using the built in ToString() of the language.

Respuesta de la entrevista

Anónimo

18 de mar de 2019

Break down the number into it's digits and increment (char)1 by the number's value-1.

1