Urgent - Help - Homework Question

This is a discussion on Urgent - Help - Homework Question within the C++ Programming forums, part of the General Programming Boards category; 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?
- 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

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?

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