Hacker News new | past | comments | ask | show | jobs | submit login

Without thinking about it too much...

One solution might be to try and find the the best candidate after (N/M)/e candidates, rather than N/e candidates. Then find the best candidate after (N_remaining/(M-1))/e candidates. That is recurse, by finding one candidate at a time, and discarding less then N/e each time to ensure you get enough candidates.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: