can we use disjoint sets for directed graph??
Disjoint sets graph
No disjoint sets are not used for directed graph
and what are the benifits of using dsu and when to apply it??
whenever a problem that can be solved using
undirected graph in those situations we can use disjoint set
https://cp-algorithms.com/data_structures/disjoint_set_union.html
read about it from here