Examveda

What is the primary use of a Disjoint Set Union (DSU) data structure?

A. To manage key-value pairs

B. To implement a balanced tree

C. For efficient sorting of large datasets

D. To manage and merge disjoint sets

Answer: Option D


This Question Belongs to Data Structure >> Miscellaneous On Data Structures

Join The Discussion

Related Questions on Miscellaneous on Data Structures