Amazon Interview Question

Implement itoa() functionality.