You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You are a customer service manager. Everyday, you will meet wth some customers. When a customer comes, you will insert his/her name and telephone number into your database. Once the problem of the customer is solved, you will remove the customer from your database. In other word, you try to maintain a database of the list of current customers.
You are also a good computer scientist. You know that you can use link list, binary search tree, AVL-tree or red-black tree to maintain a dynamic set of items. You decided to build the database using one of these data-structures. Precisely, you want to support the following operations: