Hacker News new | past | comments | ask | show | jobs | submit login

Your "every k steps" operation executes N / k times, which isn't O(k) so I don't think it meets the requirements given.



His "every k steps" operation doesn't dereference any pointers; 0 * N / k is indeed O(k).


Fair enough, reading comprehension fail.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: