Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on The best engineering interview question I've ever gotten. Parent comment
It turns multiplication into O(n) instead of O(log n). `mult 2000` would take 2000 times longer than `mult 2`.
Imagine being able to DoS a server just by asking it to multiply two numbers.
There are no comments on this comment yet.
It turns multiplication into O(n) instead of O(log n). `mult 2000` would take 2000 times longer than `mult 2`.
Imagine being able to DoS a server just by asking it to multiply two numbers.