Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
podperson
· 1y ago · 0 comments
N is increasing. O(1) means constant (actually capped). We never check more than 100 items.
Comments
[–]
SkiFire13
1y ago
Then it's not 1%, because if you have 100k items and you check at most 100 you have checked at most 0.1% of items.