0

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

ojihane
  • 19
  • 3
  • 1
    *"I can't figure out how to"*: what did you research? You're not the first one to insert strings into a binary search tree... For example [here](https://stackoverflow.com/questions/39442630/insert-function-for-bst-with-strings-in-c). Please focus your question on what you tried. Share your code and explain where it goes wrong (for which input, which result you get and what was expected). – trincot Nov 14 '21 at 12:31

0 Answers0