# is united with its parent and the ancestor of the new set's root is set to the parent. # Queries are answered when both nodes in a pair have been visited.