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

You’re right it didn’t. I believe the main benefit vs binary search in arrays is that it’s linked list like nature makes insertion and removal Faster


Please consider COLA: http://people.seas.harvard.edu/~minilek/cs229r/fall13/lec/le...

A hierarchy of sorted arrays, with merging when needed. Single access time is O(logN), scan is theoretically the fastest possible, inserts and deletes are also O(logN).

Almost no pointer chasing.




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

Search: