I didn't understand your procedure.

For example

Given paragraph
This is a test. This is a programming test. This is a programming test
in any language.

Given words

this
a
test
programming

Output  Shortest subsegment is

a programming test This


-- 
With love and regards,
Sairam Ravu
I M.Tech(CS)
Sri Sathya Sai Institute of Higher Learning
"To live life, you must think it, measure it, experiment with it,
dance it, paint it, draw it, and calculate it"

-- 


Reply via email to