Ask Question
22 October, 20:35

What is the difference between a heap (a minheap) and a binary search tree?

+1
Answers (1)
  1. 23 October, 00:34
    0
    Some differences between Heap and Binary search trees are as following:-

    A heap is a complete binary tree. While a Binary Search Tree may be a complete, prefect binary tree.

    A minheap the root should be minimum than it's children So it efficient for finding minimum and maximum. While Binary search trees have different properties the root node should be greater than the left child and should be less than the right child.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “What is the difference between a heap (a minheap) and a binary search tree? ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers