logoalt Hacker News

entropelast Sunday at 1:42 PM1 replyview on HN

The article is explicit that addition is O(n), with n digits, which is cheaper than multiplication is believed to be. Naive multiplication is O(n*n) -- considerably less than your algorithm.


Replies

moi2388last Sunday at 1:49 PM

My algorithm is O(n+n+..n) which is O(n), since there we also ignore addition fortunately :D

show 1 reply