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

@@ -16,8 +16,9 @@ public class Abschluss extends Baumelement
{
}
// weitere Methoden
public Baumelement einfügen(Datenelement datenNeu) {
return new Knoten(datenNeu);
}