Hacker News new | ask | show | jobs
by scott_s 3475 days ago
You can have Big-O of worst case and Big-O of average case. "Asymptotic complexity" itself does not imply worst case; the assumptions you make to construct the function itself determine worst case or average case.