Given a circular integer array, find the maximum subarray sum under the circular condition.
nums = array of integers
Maximum circular subarray sum
Example 1:
Input:
nums = [5,-3,5]
Output:
10
Explanation:
Subarray [5,-3,5] wraps around, sum 10.
All DSA practice problems · DSA mock interview · Mock interviews by company and role · Book a 1:1 interview