Question

Which of the following properties is true for a binary heap?

A It must be a full binary tree
B It must be a complete binary tree
C It always stores elements in sorted order
D It allows arbitrary insertion without maintaining any order
E It is always a balanced binary search tree
Practice Next

Relevant for Exams:

Hey! Ask a query