Skip to content
RED SAG Skills
easy5 pts · first answer countsstacks-and-queues

Heap parent and child indices

A binary heap is stored in a 0-indexed array. What are the indices of the children of index i, and the parent of index 6?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions