Date of registration: Oct 9th 2002
Location: Zimbabwe-Island Ost Beiträge: 3.427
Occupation: Informatiker
Date of registration: Oct 9th 2002
Location: Zimbabwe-Island Ost Beiträge: 3.427
Occupation: Informatiker
Quoted
aufgabe 1b)
Aus welchen Kombinationen von Pre-, In-, und Postorderdurchläufen kann die Struktur eines beliebigen binären Baums wiederhergestellt werden? Geben Sie für eine mögliche Kombination einen Algorithmus im Pseudocode an. Eingabeparameter seien die entsprechenden Durchläufe in Form von Vektoren.
frage zu 1b)
wie habe ich mir das vorzustellen? ich bekomme einen vektor ABCD und soll daraus wieder den baum herstellen? aber dazu müsste ich ja wissen ob es postorder, preorder oder inorder durchlauf war....?
unklare aufgabe, oder weiss jemand was man hier machen soll?
Date of registration: Oct 9th 2002
Location: Zimbabwe-Island Ost Beiträge: 3.427
Occupation: Informatiker
This post has been edited 3 times, last edit by "Ray-D" (Nov 12th 2003, 5:05pm)
This post has been edited 1 times, last edit by "NullAhnung" (Nov 12th 2003, 6:35pm)
Date of registration: Oct 14th 2002
Location: Erschaffen aus Glut und Feuer, stärker als die Grundfesten der Erde
Occupation: CvD ;)
Date of registration: Oct 9th 2002
Location: Zimbabwe-Island Ost Beiträge: 3.427
Occupation: Informatiker