NeetCode #777LC-918MediumGreedyNC 250
← Back to All Problems

#777 · #918 · Maximum Sum Circular Subarray(环形子数组的最大和)

📌 Problem Statement & Constraints

Given a circular integer array nums, return the maximum possible sum of a non-empty subarray of the circular array. Constraints: 1 <= nums.length <= 3 * 10^4, -3 * 10^4 <= nums[i] <= 3 * 10^4.
🔒

Sign In to Unlock Full Solutions for All 973 Problems

Sign in to access step-by-step logic, benchmark Python3 code, complexity breakdown, and offline export!