Implementierung des Binärbaums - Teil 2: Einfügen

This commit is contained in:
2025-02-18 09:44:58 +01:00
parent 5b644264af
commit fe7f85dfb1
6 changed files with 63 additions and 34 deletions

View File

@@ -18,7 +18,9 @@ public class BinBaum
this.wurzel = new Abschluss();
}
// weitere Methoden
public void einfügen(Datenelement datenNeu) {
this.wurzel = this.wurzel.einfügen(datenNeu);
}