Why all the solutions in disjoint set list problems use DFS/BFS if the card is after?

Is there a reason why all the solutions to the problems listed in the disjoint set list problems use DFS/BFS instead of the disjoint set? How can I have come up with the solution if those cards come after disjoint set?

Comments (2)