dict = {
'a':'apple',
'b':'ball',
'c':'cat',
'd':'dog'
'e':'elepant',
'f':'fan',
'g':'goat',
}
If I had a dictionary like this, is it possible for me to convert it into a binary tree? i wanted to turn this into a balanced binary tree so that when the user inputs a letter to search for, it will then perform a post-order traversal to search for the letter from the tree, then, in the end, it will print the word... i'm using python 3.4...:)