Find the minimum contiguous window of words containing all required words.
Unlock detailed company stats for this questionUpgrade
Given a string of n words and an array of k required words, return the minimum contiguous sequence of words containing all the required words. If even one required word is missing, return an empty string. Sliding-window pattern.
Format · Online assessment.
Community answers
No answers contributed by the community yet.


