Page 1 of 1

What is the location of a parent node for any arbitary node i?

Posted: Wed Jul 13, 2022 7:42 pm
by answerhappygod
a) (i/2) position
b) (i+1)/ position
c) floor(i/2) position
d) ceil(i/2) position