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