Implement atoi, converting a string to a 32-bit signed integer, handling whitespace, sign, and overflow clamping.
Practise this challenge
All coding challenges