Which of the following algorithms is a greedy algorithm?

Merge sort
Quick sort
Insertion sort
Bubble sort

a. None
b. Merge sort and quick sort
c. Insertion sort and bubble sort
d. Quick sort and insertion sort

a. None
All of the algorithms are sorting algorithms; also, the merge sort and quick sort are divide and conquer algorithms.

Computer Science & Information Technology

You might also like to view...

You can back up your data at the same time that you create a system image

Indicate whether the statement is true or false

Computer Science & Information Technology

IntelliSense is a technology built into Visual Basic that assists the programmer by

(A) automatically inserting text and words that have similar meaning to those currently being entered by the programmer. (B) allowing the programmer to edit object properties from inside the code window. (C) replacing misspelled words with the correct spelling as soon as the programmer presses the Enter key. (D) automatically displaying the methods and properties available to a control.

Computer Science & Information Technology