Question

In a Max-Heap, what is the relationship between a parent node and its children?

A The parent node's value is less than or equal to its children's values.
B The parent node's value is greater than or equal to its children's values.
C The parent node's value is always equal to its children's values.
D There is no specific relationship; it depends on insertion order.
E The parent node has only one child.
Practice Next

Hey! Ask a query