Search⌘ K
AI Features

Split Array Into Two Arrays to Minimize Sum Difference

Split Array Into Two Arrays to Minimize Sum Difference divides an array into two equal-sized arrays and returns the smallest absolute difference between their sums.

Statement

You are given an integer array, nums, consisting of ...