In given string, find whether it contains any permutation of another string. For example, given abcdefgh and

Question:

In given string, find whether it contains any permutation of another string. For example, given "abcdefgh" and "ba", the function should return true, because "abcdefgh" has substring "ab", which is a permutation of the given string "ba".

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

Step by Step Answer:

Question Posted: