Leetcode 1915. Number of Wonderful Substrings | Hello Interview