Comment by dlcarrier
2 hours ago
It's a little awkward, because you'd need to parse the strings in reverse, but if all you need to do is sum, you can do it one digit at a time, while at any given moment only handling only one character from each input string, a carry byte, and one output character.
No comments yet
Contribute on Hacker News ↗