Recent questions tagged dynamic-programming

0 votes
2 answers
122
Question - 14 question is what is the approch to solve it by dynamic programming ?
0 votes
1 answer
125
2 votes
1 answer
127
3 votes
2 answers
131
0 votes
1 answer
132
2 votes
2 answers
133
Given an array of $n$ elements find the maximum continuous sum in it. For example consider the below array of $n=6$.23 4 -10 2 15 1Answer is 35.
21 votes
4 answers
144
2 votes
2 answers
149
0 votes
1 answer
150
What does find max subarray return when all elements of array are negative?