Consider a sequence of 14 elements: A = [-5, -10, 6, 3, -1, -2, 13, 4, -9, -1, 4, 12, -3, 0]. The sequence sum . Determine the maximum of S(i,j), where . (Divide and conquer approach may be used). Answer:______
GATE CSE · Algorithms
Generate diverse GATE-level questions covering divide and conquer paradigm, recursion breakdown, complexity derivation, and algorithm design strategies.
70 questions · 5 PYQs · 15 AI practice · GATE CSE 2027
🎯 These are sample questions
Just sign in to unlock everything. Free for all students.
Consider a sequence of 14 elements: A = [-5, -10, 6, 3, -1, -2, 13, 4, -9, -1, 4, 12, -3, 0]. The sequence sum . Determine the maximum of S(i,j), where . (Divide and conquer approach may be used). Answer:______
Match the following:

Given below are some algorithms, and some algorithm design paradigms. Match the above algorithms on the left to the corresponding design paradigm they follow.

The minimum number of comparisons required to find the minimum and the maximum of 100 numbers is _________________.
If n is a power of 2, then the minimum number of multiplications needed to compute is
Consider the recurrence T(n) = 2T(n/2) + n. What is the time complexity?
In Divide and Conquer, the 'combine' step refers to:
Which of the following algorithms uses the Divide and Conquer paradigm?
The worst-case time complexity of Quick Sort is:
Strassen's Matrix Multiplication reduces complexity from O(n^3) to:
Consider T(n) = 2T(n/2) + n log n. What is the complexity?
Which case of Master Theorem applies when f(n) = Θ(n^log_b a)?
What is the recurrence for worst-case Quick Sort when pivot is smallest element?
Consider a sorted array of elements. Binary search finds an element at position after comparisons. Which of the following are TRUE?
The time complexity of finding the maximum and minimum elements in an array of elements using the Divide and Conquer strategy is:
Consider the recurrence . The characteristic of this recurrence is:
Consider a sorted array (1-indexed). In binary search, the middle index is computed as . On which of the following inputs does binary search perform the maximum number of comparisons?
Consider the following recurrence: . Which of the following is true?
Which of the following conditions must be satisfied for binary search to work correctly?
In a modified Merge Sort, the list is divided into 3 equal parts instead of 2. What is the time complexity?
Want unlimited AI-generated Divide And Conquer questions?
Sign up free and practice with adaptive difficulty — Easy, Medium, Hard. New questions every session.
Start practising for free →