Στο μαθημα το δομων ενα απο τα πραγματα που ασχολουμαστε ειναι τα δυαδικα δεντρα.Π.χ μια κλαση Node που εχει μεσα δυο αναφορες Node π.χ
class Node{
Node right;
Node left;
//υπολοιπος κωδικας
}
Υπαρχει κατι τετοιο σε καποια βιβλιοθηκη της java ή της c++ ωστε να μπορω να το χρησιμοποιησω οπως την Node ?Ευχαριστω!!!
Απορια γενικη
- necrofear_13
- Wow! Terabyte level
- Posts: 2141
- Joined: Sun Nov 18, 2007 5:32 am
- Academic status: Alumnus/a
- Gender: ♂
- Location: ΗΡΑΚΛΕΙΟ ΑΤΤΙΚΗΣ
Απορια γενικη
No matter what kind of sadness envelops the darkness of our despair, if you put one foot in front of the other, at some point you will reach a place where you can see the light.
In heaven or earth, no matter to where we progress, no matter where we walk, that becomes our road.
As long as we keep walking the battle will continue.
And that is exactly why this place will always be a paradise
In heaven or earth, no matter to where we progress, no matter where we walk, that becomes our road.
As long as we keep walking the battle will continue.
And that is exactly why this place will always be a paradise
- ~~Wind~~
- Gbyte level
- Posts: 1747
- Joined: Thu Nov 30, 2006 1:07 am
- Academic status: N>4
- Gender: ♂
- Location: *void
Re: Απορια γενικη
Γιατί στην Java χρησιμοποίησες κάτι έτοιμο ?
Φτιάξε την μόνος σου. Δεν είναι δύσκολη, αν κ αυτή που μας δώσανε στην δομές βελτιώνεται ..αρκετά, για Java τουλάχιστον.
Φτιάξε την μόνος σου. Δεν είναι δύσκολη, αν κ αυτή που μας δώσανε στην δομές βελτιώνεται ..αρκετά, για Java τουλάχιστον.
Come to foss-aueb ...we have cookies.. yamyam~nomnomnomnomnomnomnomnom
a cookie ~ I will do science to it