[LC] Add solution to reverse integer.
[LC] Add solution to string to integer using automata based programming.