What is the time complexity of Merge Sort in the worst case?

Merge Sort Quiz DAA TASK3

Quiz
•
Computers
•
University
•
Medium
DURAI S
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
O(n)
O(n log n)
O(n²)
O(log n)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Merge Sort is an example of which type of algorithm?
Greedy algorithm
Divide and Conquer algorithm
Dynamic Programming algorithm
Backtracking algorithm
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the space complexity of Merge Sort?
O(1)
O(n)
O(log n)
O(n²)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is true about Merge Sort?
It is an in-place sorting algorithm.
It is stable and maintains the relative order of equal elements.
It has a worst-case time complexity of O(n²).
It does not require additional memory for sorting.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Merge Sort, what is the purpose of the 'merge' step?
To divide the array into two halves.
To combine two sorted subarrays into one sorted array.
To swap elements to sort the array.
To select a pivot element for partitioning.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the base case for the Merge Sort recursion?
When the array is empty.
When the array has one element.
When the array is already sorted.
When the array has two elements.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following sorting algorithms is most similar to Merge Sort in terms of time complexity?
Bubble Sort
Quick Sort
Insertion Sort
Selection Sort
Create a free account and access millions of resources
Similar Resources on Quizizz
13 questions
Introduction to Algorithms Quiz

Quiz
•
University
12 questions
DAA_C_MCQ - 1

Quiz
•
University
10 questions
CSS TECH TRIVIA - MEDIUM LEVEL

Quiz
•
University
10 questions
QuickSort Quiz

Quiz
•
University
14 questions
Sorting Algorithms

Quiz
•
University
7 questions
DSA Day 4

Quiz
•
University
5 questions
Complexity Analysis Station [5]

Quiz
•
University
10 questions
Kuis StrukDat

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade