700. Search in a Binary Search Tree
bst: O(logn)
O(h),O(h) h is the height of tree, avg: O(logn)
O(h),O(1) h is the height of tree, avg: O(logn)
Last updated
bst: O(logn)
O(h),O(h) h is the height of tree, avg: O(logn)
O(h),O(1) h is the height of tree, avg: O(logn)
Last updated