← Flipkart questions

Smallest window containing all words

Filed under Flipkart

Given a document represented as a list of strings and a target list of words, find the minimum length window (sub-array) in the document that contains all the words from the target list at least once…

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 Flipkart questions

Collected from public candidate posts and coding forums. Updated Nov 2026.