Implement a binary search tree class from scratch with three operations: insert, search and delete. The round was in C++; this page uses Python. After the code, the interviewer asked: - What is the time complexity? - What happens in the worst case? - How would you make it balanced?…