GATE CSE Divide and Conquer – Algorithms Practice Test | Set 1

Questions 6-10 of 65

0% completed (0/65 answered)
Your score 0/65 0 answered
Correct 0 Incorrect 0 Unanswered 65 Accuracy 0%

Question 6

MCQ · Single Correct 1 mark

Which recurrence relation correctly describes Binary Search on a sorted array of n elements?

Answers for question 6

Question 7

MCQ · Single Correct 2 mark

Asymptotically, how many comparisons does Quick Sort perform on average for n distinct elements?

Answers for question 7

Question 8

MCQ · Single Correct 2 mark

What is the time complexity of finding the maximum subarray sum using a Divide and Conquer approach?

Answers for question 8

Question 9

MCQ · Single Correct 2 mark

What is the time complexity of counting inversions in an array of size n using a modified Merge Sort?

Answers for question 9

Question 10

MCQ · Single Correct 1 mark

What is the maximum number of inversions possible in an array of size n?

Answers for question 10
Scroll to Top