โ† Amazon questions

Permutations of two strings

Filed under Amazon

Given two strings, print or return all possible interleaved permutations of the two strings such that the relative order of characters from each individual string is preserved.

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.