← Amazon questions

Array and String Operations

Filed under Amazon

Solve three classic sub-problems efficiently: 1) Reverse words in a string, 2) Find all pairs in an array that sum to a given target, 3) Count the number of pairs in an array whose sum is divisible by…

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.