Frage im Vorstellungsgespräch bei The Zappos Family

programming question : implement parse integer method.