4 ms·
I think the other replies to you are mistaken. This algorithm meets the requirements of running in linear time, once you apply the inverting trick when the samp
by ridiculous_fish 11y ago
I think the other replies to you are mistaken. This algorithm meets the requirements of running in linear time, once you apply the inverting trick when the sample size exceeds half of the pool size. See my top-level comment.