Tree, Binary Tree (BT) and Binary Search Trees (BST)

1. Introduction

Operation Average Worst
Insert O(log(n))O(log(n)) O(n)O(n)
Delete O(log(n))O(log(n)) O(n)O(n)
Remove O(log(n))O(log(n)) O(n)O(n)
Search O(log(n))O(log(n)) O(n)O(n)
="Preorder
="Inorder
="Postorder

------ End ------