What are the 3 factors should you consider when you are deciding which search alorithm to use on a list?
What are the 3 factors should you consider when you are deciding which search alorithm to use on a list?
Last edited by Sway2; 10-03-2002 at 07:31 PM.
What do you think they are?
... and what makes this soooo urgent then?? Why don't you try answering the question yourself first.
When all else fails, read the instructions.
If you're posting code, use code tags: [code] /* insert code here */ [/code]
I wouldn't ask if I hadn't already tried to figure it out!!!
FINE then.
Did you read the rules? No one is going to help you unless you make a frigging attempt at this. If you would have made an attempt people would have helped you.
Could one of them be the size of the list?
... it's not obvious from your original post, thats all. Plus threads marked as urgent are always off to a bad start.Originally posted by Sway2
I wouldn't ask if I hadn't already tried to figure it out!!!
FINE then.
When all else fails, read the instructions.
If you're posting code, use code tags: [code] /* insert code here */ [/code]
Sway he isn't trying to be mad or ugly to you. But people don't like it when you list things urget. Sounds like you're too lazy to do your own work and people don't like being "used."
I'm not gonna do it for you cause it sounds like this lead s into a lecture...
But try this...What are the diffrent searching algorithms? How are they diffrent?
we're the ones giving help. you're the one receiving it. and take a peek at this here website.Originally posted by Sway2
I wouldn't ask if I hadn't already tried to figure it out!!!
FINE then.
hello, internet!
I agree with the posters above. Do you have a book- look it up.
Mr. C.
> What are the 3 factors should you consider when you are deciding which search alorithm to use on a list?
- how fast the machine is which is running the code
- how fast the user is at understanding the results
- how fast the programmer is at implementing the code
Dammit Salem, I thought they were;
A) Will anyone notice I've actually just made a bubblesort function in a header file & named it Uber_Sort?
B) Do the programmers get paid before the software has been rolled out with anything more than a test data set?
C) Which sort could I code before the IT boys knock off, so I can join them in a Friday Beer & Pizza lazy lunch?
Sorry
Demonographic rhinology is not the only possible outcome, but why take the chance
Hey, is the question:
Mr. CCode:17. In deciding which search algorithm to use on a list, which of the following should not be a factor in your decision? a. The length of the list to be searched b. Whether or not the list contains negative numbers c. Whether or not the list is already in sorted order d. The number of times the list is to be searched
Is he one of your students then?
Couldn't think of anything interesting, cool or funny - sorry.