← Amazon questions

Find min length subparagraph containing N words

Filed under Amazon

Given a paragraph string and a list of target words, find the minimum length substring (by character count) of the paragraph that contains all target words as complete whole words in any order. If…

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.