I want to create a binary search tree using words from a txt file , the file conations words and their definition, I have to separate each word and its definition , there are 165 words in the file example from the file called terms.txt 125. ballet: a form of dance 126. garage: a place to park cars 127. pizza: a kind of pie with cheese and tomatoes on a crust
I did know how to separate the tokens in the file but I can't figure out how to enter them into the binary search tree