Problem can be found here The problems requests finding if permutation of string s1 exists within s2 What is permutation? In this context, It is a string that has same characters as s1 which may or may not be ordered Example assume s1 = “abc” permutations = “abc”, “bac”, “bca”, “acb”…