Easy or Not Easy

atoi is an easy problem, anyone can write some code to pass some of the testcase.

atoi do have a low AC Rates at 14.5% (Jul 27 2014). the problem testcases contains a lot of edge cases, which will make you depressed.

Edges cases, including but not limited to the cases below:

  • Sign
  • Whitespace
  • Overflow