Which property is common to both max-heaps and min-heaps?
A. They both maintain a complete binary tree.
B. They both ensure a sorted order of elements.
C. They both allow easy insertion and deletion.
D. They both balance themselves automatically.
Answer: Option A
Join The Discussion