← Amazon questions

Count triplets (i, j, k) from three sorted arrays

Filed under Amazon

Given three sorted arrays A1, A2, and A3, count the number of triplets (i, j, k) suchg that an element comes from A1, j from A2, k from A3, and the values satisfy the condition from the indices or…

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.