CS61B Textbook
search
Ctrlk
  • Contributors
  • DISCLAIMER
  • 1. Introductionchevron-right
  • 2. Defining and Using Classes
  • 3. References, Recursion, and Lists
  • 4. SLLists
  • 5. DLLists
  • 6. Arrays
  • 7. Testing
  • 8. ArrayList
  • 9. Inheritance I: Interface and Implementation Inheritance
  • 10. Inheritance II: Extends, Casting, Higher Order Functionschevron-right
  • 11. Inheritance III: Subtype Polymorphism, Comparators, Comparablechevron-right
  • 12. Inheritance IV: Iterators, Object Methodschevron-right
  • 13. Asymptotics Ichevron-right
  • 14. Disjoint Setschevron-right
    • 14.1 Introduction
    • 14.2 Quick Find
    • 14.3 Quick Union
    • 14.4 Weighted Quick Union (WQU)
    • 14.5 Weighted Quick Union with Path Compression
    • 14.6 Exercises
  • 15. Asymptotics IIchevron-right
  • 16. ADTs and BSTschevron-right
  • 17. B-Treeschevron-right
  • 18. Red Black Treeschevron-right
  • 19. Hashing Ichevron-right
  • 20. Hashing IIchevron-right
  • 21. Heaps and Priority Queueschevron-right
  • 22. Tree Traversals and Graphschevron-right
  • 23. Graph Traversals and Implementationschevron-right
  • 24. Shortest Pathschevron-right
  • 25. Minimum Spanning Treeschevron-right
  • 26. Prefix Operations and Trieschevron-right
  • 27. Software Engineering Ichevron-right
  • 28. Reductions and Decompositionchevron-right
  • 29. Basic Sortschevron-right
  • 30. Quicksortchevron-right
  • 31. Software Engineering IIchevron-right
  • 32. More Quick Sort, Sorting Summarychevron-right
  • 33. Software Engineering IIIchevron-right
  • 34. Sorting and Algorithmic Boundschevron-right
  • 35. Radix Sortschevron-right
  • 36. Sorting and Data Structures Conclusionchevron-right
  • 37. Software Engineering IVchevron-right
  • 38. Compression and Complexitychevron-right
  • 39. Compression, Complexity, P = NPchevron-right
gitbookPowered by GitBook
block-quoteOn this pagechevron-down

14. Disjoint Sets

By Dhruti Pandya and Mihir Mirchandani

14.1 Introductionchevron-right14.2 Quick Findchevron-right14.3 Quick Unionchevron-right14.4 Weighted Quick Union (WQU)chevron-right14.5 Weighted Quick Union with Path Compressionchevron-right14.6 Exerciseschevron-right
Previous13.10 Exerciseschevron-leftNext14.1 Introductionchevron-right

Last updated 2 years ago