how would i go about sorting multiple items in a binary search tree..
for example if i have a list of first last and middle names and i want to sort it in a tree by last name, how would i store all three of them in each node..
should i create a struct with them in it and a separate struct for my tree?
whats the easiest way to do this?
nadleeh 0 Newbie Poster
abhimanipal 91 Master Poster
nadleeh 0 Newbie Poster
Narue 5,707 Bad Cop Team Colleague
nadleeh 0 Newbie Poster
Narue 5,707 Bad Cop Team Colleague
nadleeh 0 Newbie Poster
Narue 5,707 Bad Cop Team Colleague
nadleeh 0 Newbie Poster
Narue 5,707 Bad Cop Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.