MCQOPTIONS
Saved Bookmarks
| 1. |
The odd-even transposition algorithm sorts n elements in n phases (n is even), each of which requires ------------compare-exchange operations |
| A. | 2n |
| B. | n2 |
| C. | n/2 |
| D. | n |
| Answer» D. n | |