Step 1: Insertion Complexity.
In a binary search tree (BST), in the worst case, the tree can be unbalanced (e.g., resembling a linked list). In this case, inserting a key will require traversing through all $n$ nodes, making the worst case time complexity for insertion **$O(n)$**.
Step 2: Deletion Complexity.
Similarly, in the worst case, deletion involves traversing the entire tree and potentially restructuring it, which takes **$O(n)$** time.
Step 3: Conclusion.
Thus, the worst case time complexity for both insertion and deletion in a binary search tree is **$O(n)$**.



