Question DSA-ARR-0027
EasyWhat does Kadane's algorithm find?
- A.
The maximum sum of a contiguous subarray
- B.
The median of the array
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Arrays question
What does Kadane's algorithm find?
The maximum sum of a contiguous subarray
The median of the array
Sign up free to see the answer and a step-by-step explanation.
The number of inversions
The second largest element