1.

Write a procedure to search an element in a Binary Search Tree.

Answer»

Begin with root and compare the value of the node with the value you are SEARCHING for. if the NUMBER is LESS than or equal to then check its left node else check its right node and repeat this until you either find the element or you REACH the LEAF



Discussion

No Comment Found