Rosetta Problems

Count Substrings That Can Be Rearranged to Contain a String I

https://leetcode.com/problems/count-substrings-that-can-be-rearranged-to-contain-a-string-i