Practice Problem

Maximum Sum Circular Subarray

Difficulty: Medium

Given a circular integer array, find the maximum possible sum of a non-empty subarray that may wrap around the ends of the array.