In the Union/Find algorithm, the ranks of the nodes on a path will increase monotonically from?

In the Union/Find algorithm, the ranks of the nodes on a path will increase monotonically from?
A. leaf to root
B. root to node
C. root to leaf
D. left subtree to right subtree
 

Tìm kiếm

Back
Top