You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13-3
Original file line number
Diff line number
Diff line change
@@ -66,6 +66,7 @@
66
66
-[Route Between Nodes: Given a directed graph, design an algorithm to find out whether there is a route between two nodes.](#route-between-nodes-given-a-directed-graph-design-an-algorithm-to-find-out-whether-there-is-a-route-between-two-nodes)
67
67
-[Minimal Tree: Given a sorted increasing order array with unique integer elements, write an algorithm to create a binary search tree with minimal height](#minimal-tree-given-a-sorted-increasing-order-array-with-unique-integer-elements-write-an-algorithm-to-create-a-binary-search-tree-with-minimal-height)
68
68
-[Check if a given binary tree is BST ( Binary Search Tree )](#check-if-a-given-binary-tree-is-bst--binary-search-tree-)
69
+
-[Delete node from Binary Search Tree (BST)](#delete-node-from-binary-search-tree-bst)
-[Calculate x to the power n using recursion](#calculate-x-to-the-power-n-using-recursion)
71
72
-[Calculate Modular Exponentiation using recursion](#calculate-modular-exponentiation-using-recursion)
@@ -681,21 +682,29 @@ Trade off or invest some memory to improve run time complexity. Suppose use Has-
681
682
682
683
**Binary Search Tree (BST)**: is a binary tree in which for each node value of all the nodes in the left subtree is lesser or equal to the root node. And the values of all the nodes in the right subtree is greater than the root node.
683
684
684
-
In order to find a tree as BST we must define each node range that is its outer and inner bound values.
685
+
In order to find a tree as BST we must `define each node range` that is its outer and inner bound values and iterate the tree and compare their ranges.
0 commit comments