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

Optimal depth for union-find is O(1); every node points directly to the root. It's a very different case than building a binary search tree.


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

Search: