Function find root index in tree current index is i
find root index in tree
Format:
find root index in tree current index is i
Input:
list tree -
number i -
Output:
number - None
Properties that reference this function:
find root index in tree = find root index in tree current index is 0 (tree root begin)
Conditional properties that reference this function:
if find referece to node i in tree tree = True, then find root index in tree current index is i = find root index in tree current index is (i + 1)
(link)if find referece to node i in tree tree = False, then find root index in tree current index is i = i
(link)
Comments
Please log in to add comments