Capital One Interview Question

Representing integers as strings