Intel Corporation Interview Question

atoi implementation function in c# or Python