Algorithms · Previous year questions
Divide and Conquer
7 questions from GATE CS 2012 to 2026, newest first.
Questions
GATE CS 2026 Set 2, Q.32
Consider an array . Suppose the merge sort algorithm is executed on array to sort it in increasing order. The merge sort algorithm will c...
Divide and Conquer
GATE CS 2025 Set 2, Q.41
An array of length with distinct elements is said to be bitonic if there is an index such that is sorted in the non-decreasing order and…
Searching and Sorting Algorithms · Divide and Conquer
GATE CS 2021 Set 2, Q.18 (CS Q.8)
What is the worst-case number of arithmetic operations performed by recursive binary search on a sorted array of size ?
Divide and Conquer
GATE CS 2019, Q.35 (CS Q.25)
Consider a sequence of 14 elements: . The subsequence sum . Determine the maximum of…
Divide and Conquer
GATE CS 2019, Q.47 (CS Q.37)
There are unsorted arrays: . Assume that is odd. Each of contains distinct elements. There are no common elements betwee...
Divide and Conquer
GATE CS 2017 Set 1, Q.5 (CS Q.5)
Consider the following table: Algorithm Design Paradigm (P) Kruskal (i) Divide and Conquer (Q) Quicksort (ii) Greedy (R) Floyd-Warshall (iii) Dynamic Programming Match the algor...
Greedy Algorithms · Dynamic Programming · Divide and Conquer
GATE CS 2012, Q.16 (CS Q.16)
The recurrence relation capturing the optimal execution time of the Towers of Hanoi problem with discs is
Divide and Conquer · Asymptotic Analysis and Time/Space Complexity