Challenge: Maximum Sublist
Try to solve the Maximum Sublist problem.
We'll cover the following
Statement
Given an unsorted list nums
, find the sum of the maximum sum sublist. The maximum sum sublist is a list of contiguous elements in nums
for which the sum of the elements is maximum.
Constraints:
nums.length
nums[i]
Examples
Level up your interview prep. Join Educative to access 70+ hands-on prep courses.