3298. Count Substrings That Can Be Rearranged to Contain a String II Code : Count Substrings That Can Be Rearranged to Contain a String II