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

One of my favourites is treap [1], which doubles as a great excuse to forget how to balance binary trees. It is similarly "probably efficient" as HAMT, mentioned in other comments; both require a well-behaving distribution in the hash function.

1: https://en.m.wikipedia.org/wiki/Treap



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

Search: