I am struggling to get to know how to code a basic implementation using a dictionary and in-order traversal binary search tree in Python. The class have to be using the below structure.
I would be very happy if someone could fill out the blanks (pass) in each function to get me started.
class Dictionary:
def __init__ (self):
pass
def insert (self, key, value):
pass
def delete (self, key):
pass
def find (self, key):
pass
def traverse (self, f):
pass
def __str__ (self):
return str(self)