Y
Hacker News
new
|
ask
|
show
|
jobs
by
im3w1l
12 days ago
This might work really well in practice idk, but I think it's not allowed by big O to pick a maximum supported size. Otherwise you could just make a lookup table. Your algorithm must be ready for anything.