logoalt Hacker News

IsTomyesterday at 6:06 PM1 replyview on HN

It has two parameters and depending on their relation it will act differently, it's reasonable to include this information. It is worst case O(1) when n and k don't differ much.


Replies

mwkaufmayesterday at 6:13 PM

You've introduced an idiosyncratic definition of "worst-case" that nobody else uses to redefine proportional cycle-counting as "complexity", so yeah, I guess in your novel terminology that makes sense, but it isn't consistent with any CS textbook.

show 3 replies