← Amazon questions

Minimize subset sum difference

Filed under Amazon

Given an array of positive integers nums, divide it into two disjoint subsets such that the absolute difference between the sums of the two subsets is minimized. Return the two subsets as a tuple of…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Amazon questions

Collected from public candidate posts and coding forums. Updated Nov 2026.