Tuesday, March 07, 2006

atoi

a very common question. implement atoi(String), where String is an object or type or pointer or array depending on your language of choice. Obviously, do not use libraries which would make this conversion trivial such as Integer.parseInt(String s) in java.

No comments: