β
Correct Answer: (B)
{-1,-2,-3}
Explanation: kadane’s algorithm doesn’t work for all negative numbers. so, the answer is {-1,-2,-3}.
Explanation by: Mr. Dubey
kadane’s algorithm doesn’t work for all negative numbers. so, the answer is {-1,-2,-3}.
Discussion
Question Analytics
115
Total Visits
3 y ago
Published
Mr. Dubey
Publisher
97%
Success Rate