Recent questions tagged goclasses-da-dpp-day-240

3 3 votes
1 1 answer
209
209 views
Merge sort divides an array of size $n$ into two halves, recursively sorts both halves, and then merges the two sorted halves.Which recurrence correctly represents merge ...
4 4 votes
1 1 answer
204
204 views
Karatsuba multiplication multiplies two $n$-digit numbers by reducing the number of recursive half-size multiplications.Which recurrence represents Karatsuba multiplicati...
3 3 votes
1 1 answer
173
173 views
An array has distinct elements. A local minimum is an element smaller than both of its neighbors, with endpoints compared to their only neighbor.A divide-and-conquer algo...
2 2 votes
1 1 answer
183
183 views
In the divide-and-conquer algorithm for maximum sum subarray, the maximum subarray may lie:entirely in the left half entirely in the right halfWhat is the third possible ...
3 3 votes
1 1 answer
209
209 views
Suppose array $A[1 \ldots n]$ is sorted in non-decreasing order and it is guaranteed that there exists an index $i$ such that:$A[i] = i$A divide-and-conquer algorithm che...
To see more, click for the full list of questions or popular tags.