Difficulty: MEDIUM
Categories: λ°°μ΄/λ¬Έμμ΄μν/ꡬν
Source: https://leetcode.com/problems/string-to-integer-atoi/