โ† Amazon questions

Find All Pairs from Two Arrays with Given Product

Filed under Amazon

Given two arrays A and B and a target product P, find all pairs (a, b) such that a in A, b in B, and a * b = P.

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.