3 ms·
Oh right, so the height is practically a constant. Square root for sure then.
by frollogaston 1y ago
Oh right, so the height is practically a constant. Square root for sure then.
- LPisGood 1y agoAll algorithms are O(1) in this case
- frollogaston 1y agoYou 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.