OlympicDreamer
Senior Member
- Joined
- Mar 24, 2009
- Messages
- 1,145
- Reaction score
- 0
This is a project for assessment to enrol in a university.
My problem is, I am not really show whether my understanding of a binary search tree is the same as the university's.
My understanding is that I have to file strings as leaves under the root, and child leaf under parent leaf.
My questions is, do I assign numbers to alphabets from a-z. Then compare the number size of every alphabet between string A and B?
I have seen other examples of binary search trees and they don't do it like I think they do!
Help please!
My problem is, I am not really show whether my understanding of a binary search tree is the same as the university's.
My understanding is that I have to file strings as leaves under the root, and child leaf under parent leaf.
My questions is, do I assign numbers to alphabets from a-z. Then compare the number size of every alphabet between string A and B?
I have seen other examples of binary search trees and they don't do it like I think they do!
Help please!