3 ms·
When he asked me to implement atoi() on Java, Integer.parseInt() was the not correct way to do things at Amazon. I have to agree with them here. If you're bei
by cperciva 10y ago
When he asked me to implement atoi() on Java, Integer.parseInt() was the not correct way to do things at Amazon.
I have to agree with them here. If you're being asked to implement a function for parsing integers, they're clearly not looking for an answer of "I call a function which parses integers".