Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library

Comment by frollogaston

19 days ago

Oh right, so the height is practically a constant. Square root for sure then.

2 comments

frollogaston

Reply

LPisGood  18 days ago

All algorithms are O(1) in this case

  • frollogaston  18 days ago

    You pick what things are constant and what's variable. If you're scaling a supercomputer to fit a problem, the height is going to max out quickly and can be treated as constant, while the other dimensions are variable.

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities