swtv-kaist / cs458-fall22

1 stars 0 forks source link

H_Size parameter #11

Closed A-Mehdi closed 1 year ago

A-Mehdi commented 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?

ahcheongL commented 1 year ago

Yes, you are right.