Skip to content

Latest commit

 

History

History
5 lines (3 loc) · 313 Bytes

README.md

File metadata and controls

5 lines (3 loc) · 313 Bytes

Hactoberfest-1

You are given an integer array nums of 2 * n integers. You need to partition nums into two arrays of length n to minimize the absolute difference of the sums of the arrays. To partition nums, put each element of nums into one of the two arrays.

Return the minimum possible absolute difference.