Afficher un message
Vieux 05/05/2008, 02h01   #6
mike-yue
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: A question: Is 200,000 element array worth sorting and search?

All very good answers. many thanks for you guys,
In a word, the Liner Search is the cheapest method to search. the
other two are complicated and expensive.

I know it is about algorithmic complexity, but I totally forget the
defination of the O, even the Log. University time seems a century ago
I almost forget everything.

I think it is useless for 99% programmer jobs, unfortunately it's
always been asked. Once a interviewer asked me to explain the
algorithmic complexity of quick sort!


Thanks again
  Réponse avec citation
 
Page generated in 0,04861 seconds with 9 queries