🚀 Day14/80 of #gfg160 challenge completed. ✅ Implement atoi: I attempted this using a naive approach to use a data type which has a size greater than 32 bits. Also we simply compare with (2^31 - 1)/10 and avoid comparison with -2^31/10 while making our the absolute value.
0
0
5
45
0
Download Image