Rosetta Problems

Count Beautiful Substrings I

https://leetcode.com/problems/count-beautiful-substrings-i