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

Could you store the string in multibyte form, and then keep a skip list (or other data structure) to get indexing in O(log n)?



Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: