Comment Comment by rag-hav I wrote a beginner's guide on this topic a while ago https://medium.com/nybles/efficient-operations-on-disjoint-s... parent rag-hav 4 years ago