What are the advantages and disadvantages of each of the following sorting algorithms?
Selection Sort
Insertion Sort
Merge Sort
Which of the following sorting algorithms should you use to sort short arrays in a memory-limited real-time application?
Selection Sort
Insertion Sort
Merge Sort
Which of the following sorting algorithms is most efficient for sorting arrays that are already mostly in order?
Selection Sort
Insertion Sort
Merge Sort
Which of the following sorting algorithms is most efficient for sorting large arrays with values in random order?
Selection Sort
Insertion Sort
Merge Sort
For searching an unordered list, which search algorithm is the better choice?
For searching an ordered list, which search algorithm is the better choice?
In what situations would the binary search algorithm be useful?
In what situations would the linear search algorithm be useful?
For an array of a million element, how many elements at most would you need to check using binary search in order to determine whether a specific element is in the array?
For a list of 100 elements, how many elements would you need to check using binary search in order to find out if a particular element is in the list?