Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It doesn't even work as described for popularity - one word starts at 49,999 and one starts at 0.


Yeah, that is a poorly written description. I think they meant that each word gets a unique index location into an array, and the value at that word's index location is incremented whenever the word occurs.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: