MCQOPTIONS
Saved Bookmarks
| 1. |
What is the running time of an insertion sort algorithm if the input is pre-sorted? |
| A. | O(N<sup>2</sup>) |
| B. | O(N log N) |
| C. | O(N) |
| D. | O(M log N) |
| Answer» D. O(M log N) | |