Question 1
Which of the following sorting algorithms has the lowest worst-case complexity?
Merge Sort
Bubble Sort
Quick Sort
Selection Sort
Question 2
Question 3
Question 4
Question 5
Which sorting algorithm will take least time when all elements of input array are identical? Consider typical implementations of sorting algorithms.
Insertion Sort
Heap Sort
Merge Sort
Selection Sort
Question 6
Consider a situation where swap operation is very costly. Which of the following sorting algorithms should be preferred so that the number of swap operations are minimized in general?
Heap Sort
Selection Sort
Insertion Sort
Merge Sort
There are 6 questions to complete.