This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Master the formulas: left child at 2i+1, right child at 2i+2, parent at (i-1)/2 for array-based trees.
You've completed the free preview. Subscribe to unlock every lesson in every course.