you didn't specify enough information for an answer.
What are the rules in the lists?
The "blue" lists vary in number of items - does this mean each item can both link to the "black" list AND the "blue" list?
The relationships are also problematic, since it looks like there is recursiveness - head1 links to head two (in the inner black circle) head two has a "blue" list members of which the last one links to the last blue item of head1 again, since the blue connections go both ways its recursive...
So you will have to explain more...
But on it looks to me that linked lists is what you need.
And please, post images on the forum it self, don't post links, since links will not stay for ever, and later it will be impossible to know what the thread is about.





Reply With Quote

Bookmarks