Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
kripke
· 5y ago · 0 comments
The choice of A_i now depends on n. The complexity of your construction is O(n^{2 + 1/argmax_i { N_i <= n}), not O(n^2).
Comments
[–]
woopwoop
5y ago
Oh I wasn't claiming it's O(n), just O(n^{1+epsilon}) for any epsilon > 0. Indeed, the function inside your O is dominated by n^{2 + epsilon} for any epsilon > 0.