DSU on Tree | Small to Large merging | Advanced Idea | Part 4

This is a part of 3 part Advanced Series, we are talking about some good advanced ideas on Union find. Link to 4 Videos: Fundamentals :    • Disjoint Set Union Fundamentals | Union Fi...   Advanced Idea 1 :    • Weighted Union Find | Small to Large mergi...   Advanced Idea 2 :    • Rollback Idea on Union Find | Small to Lar...   Advanced Idea 3 :    • DSU on Tree | Small to Large merging | Adv...   Link to a blog on same : https://codeforces.com/blog/entry/103064 Do share with your friends who are doing CP besides you / Are preparing for internships and placements. ✨ Hashtags ✨ #VivekGupta #Competititve #CPStreams #codechef #codeforces #engineering #internship ------------------------------------------------------------------------------------------------------------- If you are a beginner, here are some resources to start with : ✅ Free Language course with certificate that i taught - https://bit.ly/3I52EAb ✅ More free courses - https://bit.ly/3SKoCNO If you are looking to train in a commado like regime for acing DSA (with DEV and System Design covered for placement too), do checkout : 🔴 https://bit.ly/3SKoM7S If you want to connect over social media or want more resources : https://linktr.ee/vivek_gupta