| ▲ | yunohn 3 hours ago | |||||||
> It checks a fixed sample of items (roughly 1%) regardless of size > This provides O(1) performance Wouldn’t 1% of N still imply O(N) performance? | ||||||||
| ▲ | podperson 3 hours ago | parent [-] | |||||||
N is increasing. O(1) means constant (actually capped). We never check more than 100 items. | ||||||||
| ||||||||