Re:Why I won't do coding tests
by dropit_sphere on Monday April 04, 2016 @07:56AM
(#11421141)
Make sure you ask for the O(1) solution, because if someone's production instincts are to write
whenever they need to sum between two numbers, then I'd argue they're a worse programmer than someone who just writes `(reduce + (range (inc l) h))`. Programmer time is expensive, and linear time is, for 99% of ranges most devs will encounter, just fine.
[ Parent
| on HN ]