โ† Amazon questions

Swap elements to make sums equal

Filed under Amazon

Given two integer arrays A and B, determine if it is possible to swap one element from array A and one element from array B such that the sum of both arrays becomes equal.

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.