MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

DATA STRUCTURES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which of the following is not a sorting algorithm?
A
Bubble Sort
B
Long Sort
C
Insertion Sort
D
None of the above
Explanation: 

Detailed explanation-1: -Explanation: Merge sort is not an in-place sorting algorithm.

Detailed explanation-2: -Thus merge sort is not an in place sorting algorithm.

Detailed explanation-3: -In Insertion sort, the worst-case takes (n2) time, the worst case of insertion sort is when elements are sorted in reverse order. It is an in-place sorting algorithm.

Detailed explanation-4: -Merge-sort is an example of not-in-place sorting.

Detailed explanation-5: -When it comes to Computer Science, there are four main algorithms that you need to have in your arsenal. Bubble sort, selections sort, merge sort, and quickSort.

There is 1 question to complete.