Q.

Kadane’s algorithm uses which of the following techniques?

A. divide and conquer
B. dynamic programming
C. recursion
D. greedy algorithm
Answer» B. dynamic programming
Explanation: kadane’s algorithm uses dynamic programming.
4k
0
Do you find this helpful?
36

Discussion

No comments yet