Patterns with repeat characters?

In this challenge and the previous one (problem challene 1), the provided solutions assume the pattern is does not have repeat charaters but the problem statement doesn’t clarify that. Why not?

Hi, you can test the code by giving repeated patterns. Try executing the following examples:

System.out.println(StringAnagrams.findStringAnagrams(“ppqpqppqq”, “qpq”));
System.out.println(StringAnagrams.findStringAnagrams(“abbcabbac”, “abb”));

Hope this clears it out for you.