Microsoft interview question

Implement atoi and itoa