MCQOPTIONS
Saved Bookmarks
| 1. |
You have an array of n elements. Suppose you implement quick sort by always choosing the central element of the array as the pivot. Then the tightest upper bound for the worst case performance is |
| A. | 0(n2) |
| B. | 0(n long n) |
| C. | 0(n log n) |
| D. | 0(n3) |
| Answer» B. 0(n long n) | |