LinkedIn interview question

Implement parseInt()