Thema: Delphi Binary Tree Search

Einzelnen Beitrag anzeigen

mohfa

Registriert seit: 11. Feb 2007
97 Beiträge
 
Delphi 7 Enterprise
 
#1

Binary Tree Search

  Alt 24. Jun 2009, 21:23
Hi , i have this Binary-Tree structure :

Delphi-Quellcode:
type
PDictionary=^Dictionary;
Dictionary=record
word:string;
meaning:String;
key:integer;
Right,Left:Dictionary
end;

How to searche this Binary-tree for a value ( used in Word ) with Option : MatchCase then if the Value is found it will be listed in a ListBox with meaning+key value .


many thanks
  Mit Zitat antworten Zitat