25
Binary search tree in data structure
Hi, in this is part 3 of the tree data structure, we're going to discuss the Binary search tree, and in the next post, we will cover in detail its implementation (insertion, searching, and deletion).

insert | search | delete | |
---|---|---|---|
best case | O(log n) | O(log n) | O(log n) |
worst case | O(n) | O(n) | O(n) |
The time complexity of the Binary search tree becomes O(n) if the binary tree is a skewed binary tree.
See you in the next post, on which we will cover the binary search tree implementation in detail, Happy Coding:)
#day_15
25