Question: Using the code above. Create an ArrayList or a resizing array, develop a union find implementation that removes the restriction on needing the number of

Create an ArrayList or a resizing array, develop a union find implementation that removes the restriction on needing the number of objects (sites) ahead of time.
Add a method newSite() to the API, which returns an int identifier.
Create a client to demonstrate/prove all operations of your implementation.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
