I have 2 BSTs containing strings - e.g. Tree1, Tree2.
The strings in each tree are from an input file
I want to check the contents of each tree, and if a string is in tree1, but not in tree2, i want to either add it, or alert the user.
I'm not entirely sure how to compare the two trees. I've coded the trees correctly and inserted the files into them. My methods for adding/deleting/etc work. Comparing is the problem.
Appreciate any help.