6.3. Quiz
This section provides exercises for better understanding in disjoint sets.
Last updated
Was this helpful?
This section provides exercises for better understanding in disjoint sets.
Last updated
Was this helpful?
Create the DisjointSetQuiz
class under the set
package.
Assume that the find()
method in the DisjointSet
class uses the baseline approach:
A disjoint set can be represented by a tree. Update the main()
method in the DisjointSetQuiz
class that would result the following tree:
Write a report quiz6.pdf
that includes the followings: