How so I go about constructing a binary search tree from a text file, which has letters and numbers, which must be sorted and printed in ascending order.
E.g. Text file contents
3 apples pears 1 cats dogs 4 bricks stones 2 men women
Then I need to use string tokenizer and BST so that it prints out
1 cats dogs 2 men women 3 apples pears 4 bricks stones
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.