← Flipkart questions
CodingMedium to HighReported in a candidate post, Sep 2024

Return all sentences formed by inserting spaces into a search term

Filed under Flipkart

Given a string s containing no spaces and a list of N unique words, return every sentence that can be formed by inserting spaces into s so that each resulting word is in the list. Words may be reused…

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.