Ask Question
7 August, 21:28

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

+3
Answers (1)
  1. 7 August, 23:25
    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 and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers