3 ms·
Most of the solutions explicitly assume 32 bit integers. These days most of us have 64 bit integers available.
by btilly 15y ago
Most of the solutions explicitly assume 32 bit integers. These days most of us have 64 bit integers available.
- lambda_cube 15y agoYes, but the two best solutions don't. The other solutions are mostly for educational purposes, I guess. One of #9 or #10 is the one that should be in some utility library.