Write a program that takes (k) words from the command line, reads in a sequence of words

Question:

Write a program that takes \(k\) words from the command line, reads in a sequence of words from standard input, and identifies the smallest interval of text that contains all of the \(k\) words (not necessarily in the same order). You do not need to consider partial words.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: