Given a random string S and another string T with unique elements, find the minimum consecutive sub-string of S such that it contains all the elements in T.
For example:
S=adobecodebanc
T=abc
answer=’banc’
Given a random string S and another string T with unique elements, find the minimum consecutive sub-string of S such that it contains all the elements in T.
For example:
S=adobecodebanc
T=abc
answer=’banc’