Hacker News new | ask | show | jobs
by nukanse 25 days ago
You move n/2, then n/4,...n/2^-i

n. Sum(2^-i)=n

So its o(n. Log(n))