Ask Question
21 September, 12:44

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

+1
Answers (1)
  1. 21 September, 12:57
    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?
Find an answer to your question 👍 “What is the difference between a heap (a minheap) and a binary search tree? ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers