Question: Problem Given two strings, str _ a and str _ b , determine whether any anagram of str _ b , occurs as a substring

Problem
Given two strings, str_a and str_b, determine whether any anagram of str_b, occurs as a substring of str_a.
Constraints
Comparison is NOT case sensitive and input string sizes vary
Examples
Here come dots and lines that helped build America, The Morse Code True
crowd, word True
There is no anagram here, some word False
There is no anagram here, game False
Explanations:
TRUE = Some arrangement of the characters in str_b is a substring in string a
FALSE = Some arrangement of the characters in stb_b is NOT a substring in string #a. No re-arrangements of characters in str_b are contiguously found in str_a.
 Problem Given two strings, str_a and str_b, determine whether any anagram

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!