what is binary search tree? Write an algorithm to create a binary search tree from an input list of integers.
algortithm
Collapse
X
-
Originally posted by phanipepwhat is binary search tree? Write an algorithm to create a binary search tree from an input list of integers.
Binary search tree is the one in which a root node has a left and a right node and the value of right node is greater than root value which is greater than the left node value.
Try to write your own code for a Binary tree and come back here if you are facing issues with the logic
Raghuram
Comment