by MrHamdulay · 9y ago · 0 comments
The complexity of this data structure is pretty interesting. It basically comes to O(N) for N < any number that can be represented in the known universe. It's also the coolest use of the inverse ackermann function I've seen!
How to solve this on a distributed system I have no idea.
[1] https://en.wikipedia.org/wiki/Disjoint-set_data_structure
No comments yet.