Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Object-Pascal / Delphi-Language (https://www.delphipraxis.net/32-object-pascal-delphi-language/)
-   -   Delphi Binary Tree Search (https://www.delphipraxis.net/136162-binary-tree-search.html)

mohfa 24. Jun 2009 20:23


Binary Tree Search
 
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

mohfa 25. Jun 2009 08:53

Re: Binary Tree Search
 
[ SOLVED ]

many thanks for all of you .

toms 25. Jun 2009 08:59

Re: Binary Tree Search
 
Zitat:

Zitat von mohfa
[ SOLVED ]

Great :thumb:
What about sharing the solution to us? - it might be beneficial to others as well!


Alle Zeitangaben in WEZ +1. Es ist jetzt 04:07 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz