r/programming • u/svpino • May 08 '15
Five programming problems every Software Engineer should be able to solve in less than 1 hour
https://blog.svpino.com/2015/05/07/five-programming-problems-every-software-engineer-should-be-able-to-solve-in-less-than-1-hour
2.5k
Upvotes
1
u/JavaX_SWING May 09 '15
most languages have a fairly advanced and intuitive implementation of arbitrary-precision numbers already. I used uint64_t in C++ to solve it, for example, and BigInteger can be used in Java/C# whereas languages like python and ruby already have it implemented into their systems via bignum.c. any programmer with more than a few hours' experience with whatever language they use can solve this.
i don't think it's worth going up into arms over the author over this. sure, he's pretentious as all hell, but arbitrary-precision arithmetic isn't exactly something difficult to implement, nor is it relevant as the concept in question is what matters.