Einzelnen Beitrag anzeigen

Benutzerbild von Gausi
Gausi

Registriert seit: 17. Jul 2005
900 Beiträge
 
Delphi 11 Alexandria
 
#2

Re: Die Suchgeschwindigkeit bei einem Binärbaum steigern

  Alt 7. Mai 2009, 20:49
Man spart sich dabei die Abfragen, ob der Nachfolger im Baum existiert. Da die Suche hier immer erfolgreich ist, läuft man nie in ein Blatt bzw. zum NIL.
Being smart will count for nothing if you don't make the world better. You have to use your smarts to count for something, to serve life, not death.
  Mit Zitat antworten Zitat