← Amazon questions

Break array into three sub-arrays with same sum

Filed under Amazon

Given an array, determine if it is possible to remove exactly two elements such that the remaining three contiguous sub-arrays have equal sums.

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.