describe how to implement a union-find structure using extendable arrays, which each contains the elements in a single set, instead of linked lists. show how this solution can be used to process a sequence of union-find operations on an initial collection of singleton sets in time.