Ensure that you are logged in and have the required permissions to access the test.
A server error has occurred. Please refresh the page or try after some time.
An error has occurred. Please refresh the page or try after some time.
4
Find the contiguous sub-array with maximum sum.
Input: N = 6 arr[] = {-2,3,4,-1,5,0} Output: 11 Explanation: Max subarray sum is 11 of elements (3, 4, -1, 5, 0) which is a contiguous subarray.
A password reset link will be sent to the following email id
?