Analyst Integration Question: Download Integration Programmer PDF

Can you please explain the difference between binary tree and a binary search tree?

Tweet Share WhatsApp

Answer:

Binary search tree is an ordered binary tree, where value of all nodes in left tree are less than or equal to node and values of all nodes in right sub tree is greater than or equal to node (e.g. root). It's an important data structure and can be used to represent a sorted structure.

Download Integration Programmer PDF Read All 41 Integration Programmer Questions
Previous QuestionNext Question
Explain recursive algorithm?Explain time complexity of an algorithm?