Board index » delphi » Looking for an algorithm...
ggr...@internetland.net (Programmer Dude)
Delphi Developer 
Wed, 18 Jun 1902 08:00:00 GMT

ggr...@internetland.net (Programmer Dude)
Delphi Developer 
Wed, 18 Jun 1902 08:00:00 GMT
Looking for an algorithm...On Fri, 17 Jan 1997 23:07:18 0600, "Alan M. Evans" Quote<A.Michael.Ev...@airmail.net> wrote: Glenn Grotzinger 
Alan M. Evan
Delphi Developer 
Wed, 18 Jun 1902 08:00:00 GMT
Re:Looking for an algorithm...People Unclear on the Concept AllTime Grand Prize Winner: Quotero...@ix.netcom.com wrote: 
ro..
Delphi Developer 
Wed, 18 Jun 1902 08:00:00 GMT
Re:Looking for an algorithm...Here is the scenario: What I am looking for is this function that would take in a string Any suggestions? Thank you very much in advance. P.S. this is for a C++ program. 
Peter de Jo
Delphi Developer 
Wed, 18 Jun 1902 08:00:00 GMT
Re:Looking for an algorithm...QuoteOn Sat, 18 Jan 1997 05:06:32 GMT, ro...@ix.netcom.com wrote: the whole list of keys and even then you're not completely sure. What you should do in cases like this is to create a double or multi linked list of the records and sort them, just like any other database program does. When the list is sorted your problem become trival. You might think that sorting would take a lot of time, but that is certainly not always true, there are many fast ways of sorting a double linked list (books!) but my favourite way is to sort it when I am creating it. If sorting is out of the question, for some really odd reason, then you have a Quote>P.S. this is for a C++ program. I hope that this will help you a bit, Peter de Jong, 
Craig Jackso
Delphi Developer 
Wed, 18 Jun 1902 08:00:00 GMT
Re:Looking for an algorithm...Quotero...@ix.netcom.com wrote: Quote> Allocate a large chunk of memory  let's call it STORAGE. (We will However, you are requiring a hashing function that will completely avoid collisions (i.e., no two distinct strings produce the same key). I don't think this is possible given your problem description. Your strings are 20 characters in length and I'll assume that Now, you are asking for a function that will map 26^20 distinct In practice, you probably will not encounter all 26^20 distinct Why are you using this type of approach? Why not use a simple If for some reason (like this is really a homework assignment), Quote> Any suggestions? algorithm is completely language independent. Hope this helps,  
1. Looking for code/algorithms to detect peaks
2. Looking for the algorithm which ramdom uses!
3. Looking for an algorithm...
4. looking for fast algorithm for plotting isolines
5. Looking for bitonal algorithms
6. Looking for algorithms for data compression/decompression
7. Looking for traveling salesman algorithms
8. LOOKING FOR: algorithm or method for processing pixels in an image