concept next step in category algorithms
appears as: The next steps, next step, The next step, next step, next steps

This is an excerpt from Manning's book Algorithms and Data Structures in Action.
#2 Iterate through the elements in the array A
Figure 5.8 Merging two sets when using the tree representation: it only requires creating one new link (plus some tree traversing). In the figure on the left, we add one edge from the root tree of Tree 1 to the root of Tree 0, to merge them. On the right, we show how this change the data structure: now we only have two trees, but the height of tree 0 is now larger than before the merge.
![]()