how to design?

R

RobustDesire

Hi,

I have to make a C program about Olympic Games System using AVL trees.
In system there are 3 main branches: Swimming,archery and athletism
Each branches have its subbranches.

I have to hold contestants points in AVL trees.I have not finshed the
design part.For the whole system should i create only one AVL tree or
create an AVL tree for each subbranches?

branche1
--------------------------------------------------------------------
branche2

|
|

|
|
subbranche1 ------------------AVL TREE
subbranche1------------AVL TREE
|
subbranche2 ------------------AVL TREE


or

just one AVL tree?

I wait any suggestions about the design..
Thnks
 
B

Ben Pfaff

I have to make a C program about Olympic Games System using AVL trees.
In system there are 3 main branches: Swimming,archery and athletism
Each branches have its subbranches.

This doesn't make sense to me. What are the "branches" ordered
on? Are you sure that an AVL tree is an appropriate data
structure.

It sounds to me that comp.programming is a better newsgroup,
because you didn't ask any question about the C programming
language.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,143
Latest member
DewittMill
Top