McqMate
| Q. |
How many sub arrays does the quick sort algorithm divide the entire array into? |
| A. | one |
| B. | two |
| C. | three |
| D. | four |
| Answer» B. two | |
| Explanation: the entire array is divided into two partitions, 1st sub array containing elements less than the pivot element and 2nd sub array containing elements greater than the pivot element. | |
View all MCQs in
Design and Analysis of AlgorithmsNo comments yet