Amazon Interview Question

Parse a string to an integer