Click here to Skip to main content
15,919,245 members
Home / Discussions / Algorithms
   

Algorithms

 
AnswerRe: Calculate Mean,Median and Standard Deviation Pin
OMalleyW8-Aug-06 22:55
OMalleyW8-Aug-06 22:55 
QuestionMatching two arrays Pin
Ratish Philip7-Aug-06 22:09
Ratish Philip7-Aug-06 22:09 
AnswerRe: Matching two arrays Pin
Ingo8-Aug-06 0:30
Ingo8-Aug-06 0:30 
AnswerRe: Matching two arrays Pin
Sebastian Schneider8-Aug-06 5:14
Sebastian Schneider8-Aug-06 5:14 
AnswerRe: Matching two arrays Pin
El Corazon8-Aug-06 6:46
El Corazon8-Aug-06 6:46 
GeneralRe: Matching two arrays Pin
Zac Howland17-Aug-06 7:11
Zac Howland17-Aug-06 7:11 
GeneralRe: Matching two arrays Pin
El Corazon17-Aug-06 15:48
El Corazon17-Aug-06 15:48 
GeneralRe: Matching two arrays Pin
Zac Howland18-Aug-06 3:46
Zac Howland18-Aug-06 3:46 
I think you misunderstood what I was getting at (or I misunderstand your thoughts ... either way). What I was getting at is that if you just hash every element in both lists and then compare each hash element to see if it has 2 results, you run into a problem when the following scenario is played out:

Contents of list 1: X, X
Contents of list 2: Y, Y

After hashing the lists, your hash table will look something like:
Hash1: X, X
Hash2: Y, Y

You now have 2 elements in each hash, but the lists are obviously not the same. It is possible to get around this problem, but then you decrease the efficiency to the point where another algorithm would be a better option anyway.

If you decide to become a software engineer, you are signing up to have a 1/2" piece of silicon tell you exactly how stupid you really are for 8 hours a day, 5 days a week

Zac

GeneralRe: Matching two arrays Pin
El Corazon18-Aug-06 4:45
El Corazon18-Aug-06 4:45 
AnswerRe: Matching two arrays Pin
Samuel.D16-Aug-06 5:06
Samuel.D16-Aug-06 5:06 
AnswerRe: Matching two arrays Pin
Zac Howland17-Aug-06 7:25
Zac Howland17-Aug-06 7:25 
AnswerRe: Matching two arrays [modified] Pin
Ennis Ray Lynch, Jr.17-Aug-06 9:52
Ennis Ray Lynch, Jr.17-Aug-06 9:52 
Questionsnowball effect Pin
OMalleyW7-Aug-06 22:07
OMalleyW7-Aug-06 22:07 
AnswerRe: snowball effect Pin
El Corazon8-Aug-06 6:32
El Corazon8-Aug-06 6:32 
GeneralRe: snowball effect Pin
OMalleyW8-Aug-06 22:41
OMalleyW8-Aug-06 22:41 
QuestionHow much math have you retained/forgotten? Pin
Michael Dunn1-Aug-06 19:54
sitebuilderMichael Dunn1-Aug-06 19:54 
AnswerRe: How much math have you retained/forgotten? Pin
Ingo1-Aug-06 23:03
Ingo1-Aug-06 23:03 
AnswerRe: How much math have you retained/forgotten? Pin
Jeremy Falcon3-Aug-06 15:43
professionalJeremy Falcon3-Aug-06 15:43 
AnswerRe: How much math have you retained/forgotten? Pin
Andy Brummer3-Aug-06 17:13
sitebuilderAndy Brummer3-Aug-06 17:13 
GeneralRe: How much math have you retained/forgotten? Pin
Bassam Abdul-Baki3-Aug-06 18:08
professionalBassam Abdul-Baki3-Aug-06 18:08 
GeneralRe: How much math have you retained/forgotten? Pin
Andy Brummer3-Aug-06 18:34
sitebuilderAndy Brummer3-Aug-06 18:34 
AnswerRe: How much math have you retained/forgotten? Pin
Shog93-Aug-06 18:06
sitebuilderShog93-Aug-06 18:06 
AnswerRe: How much math have you retained/forgotten? Pin
El Corazon7-Aug-06 6:17
El Corazon7-Aug-06 6:17 
AnswerRe: How much math have you retained/forgotten? Pin
Craster8-Aug-06 1:36
Craster8-Aug-06 1:36 
AnswerRe: How much math have you retained/forgotten? Pin
Roger Wright8-Aug-06 17:07
professionalRoger Wright8-Aug-06 17:07 

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.