Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
frollogaston
4 months ago
|
parent
|
context
|
favorite
| on:
For algorithms, a little memory outweighs a lot of...
Oh right, so the height is practically a constant. Square root for sure then.
LPisGood
4 months ago
[–]
All algorithms are O(1) in this case
frollogaston
4 months ago
|
parent
[–]
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.
Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: