by zamalek · 12y ago · 0 comments
I guess it depends on where you work, I guess I've grown used to the more accurate complexities we use around here and forgot about the concrete theory. For us, twice the time is twice the time no matter how you sugar coat it.
So, uh, my bad. You are correct.
Which is funny, because your method still uses 2n multiplications, it just computes them in the same loop.
If you have a golden hammer, every problem looks like a red thumb.