Pregunta de entrevista de Capital One

Representing integers as strings