Click here to Skip to main content
15,891,424 members
Home / Discussions / Algorithms
   

Algorithms

 
GeneralIraq-born teen cracks maths puzzle Pin
Bassam Abdul-Baki28-May-09 8:02
professionalBassam Abdul-Baki28-May-09 8:02 
GeneralRe: Iraq-born teen cracks maths puzzle Pin
73Zeppelin28-May-09 8:30
73Zeppelin28-May-09 8:30 
GeneralRe: Iraq-born teen cracks maths puzzle Pin
User 171649228-May-09 8:56
professionalUser 171649228-May-09 8:56 
GeneralRe: Iraq-born teen cracks maths puzzle Pin
Bassam Abdul-Baki28-May-09 9:13
professionalBassam Abdul-Baki28-May-09 9:13 
GeneralRe: Iraq-born teen cracks maths puzzle Pin
User 171649228-May-09 11:38
professionalUser 171649228-May-09 11:38 
GeneralRe: Iraq-born teen cracks maths puzzle Pin
Moreno Airoldi29-May-09 8:43
Moreno Airoldi29-May-09 8:43 
QuestionFinding Matches in Two Large Lists of Strings Pin
ggraham41227-May-09 11:14
ggraham41227-May-09 11:14 
AnswerRe: Finding Matches in Two Large Lists of Strings Pin
Alan Balkany28-May-09 10:54
Alan Balkany28-May-09 10:54 
There's a much simpler solution: Use a hash table.

Insert all strings from the larger list into a hash table with at least twice as many slots as strings. Then check to see if each string from the smaller list is in the hash table.

Hash tables trade space for speed and are very fast. If you want more speed, just increase the number of slots in the table.
AnswerRe: Finding Matches in Two Large Lists of Strings Pin
supercat928-May-09 12:03
supercat928-May-09 12:03 
AnswerRe: Finding Matches in Two Large Lists of Strings Pin
Moreno Airoldi29-May-09 8:41
Moreno Airoldi29-May-09 8:41 
AnswerRe: Finding Matches in Two Large Lists of Strings Pin
PIEBALDconsult12-Jul-09 17:58
mvePIEBALDconsult12-Jul-09 17:58 
AnswerRe: Finding Matches in Two Large Lists of Strings Pin
Tadeusz Westawic13-Jul-09 18:08
Tadeusz Westawic13-Jul-09 18:08 
Question[Message Deleted] Pin
Padmanabha_M26-May-09 17:54
Padmanabha_M26-May-09 17:54 
AnswerRe: arctan Pin
Tim Craig26-May-09 18:28
Tim Craig26-May-09 18:28 
Questionimage segmentation Pin
sridharmcapsg25-May-09 20:16
sridharmcapsg25-May-09 20:16 
AnswerRe: image segmentation Pin
riced25-May-09 23:51
riced25-May-09 23:51 
QuestionK means with Mahalanobis - Singularity [modified] Pin
FatMooseHenry21-May-09 22:41
FatMooseHenry21-May-09 22:41 
AnswerRe: K means with Mahalanobis - Singularity Pin
73Zeppelin22-May-09 10:06
73Zeppelin22-May-09 10:06 
QuestionRegion based shape representation Pin
raouaa21-May-09 1:15
raouaa21-May-09 1:15 
QuestionString matching algorithm Pin
vSoares18-May-09 6:43
professionalvSoares18-May-09 6:43 
AnswerRe: String matching algorithm Pin
Yusuf18-May-09 6:53
Yusuf18-May-09 6:53 
GeneralRe: String matching algorithm Pin
vSoares18-May-09 7:01
professionalvSoares18-May-09 7:01 
GeneralRe: String matching algorithm Pin
harold aptroot18-May-09 7:43
harold aptroot18-May-09 7:43 
GeneralRe: String matching algorithm Pin
riced18-May-09 22:21
riced18-May-09 22:21 
AnswerRe: String matching algorithm Pin
PIEBALDconsult19-May-09 4:24
mvePIEBALDconsult19-May-09 4:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.