Closed A-Mehdi closed 1 year ago
To clarify, h_size parameter actually represents the number of nodes in the tree, is that right? For example, if we have array like a = {0, 10, 8, 6, 5, 4, 3, 2} and h_size = 3, then our tree is only nodes {10, 8, 6}. Is this explanation correct?
a = {0, 10, 8, 6, 5, 4, 3, 2}
h_size = 3
Yes, you are right.
To clarify, h_size parameter actually represents the number of nodes in the tree, is that right? For example, if we have array like
a = {0, 10, 8, 6, 5, 4, 3, 2}
andh_size = 3
, then our tree is only nodes {10, 8, 6}. Is this explanation correct?