Hacker News new | ask | show | jobs
by LPisGood 398 days ago
All algorithms are O(1) in this case
1 comments

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.