← Amazon questions

Split array for min difference

Filed under Amazon

Given an array of integers, partition it into two contiguous or non-contiguous subsets (or two halves depending on interpretation, typically partition into two subsets) to minimize the absolute…

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.