Solution, explanation, and complexity analysis for LeetCode 2949, the Hard problem from Weekly Contest 373, in Python
Problem Description:
https://leetcode.com/problems/count-beautiful-substrings-ii/
Code:
https://drive.google.com/file/d/1Mcgq9k1ZhC2C6j4yxu-KoSE89FoRCHkI/view?usp=sharing
Very Similar Prefix Sum Problem:
https://youtu.be/wbNplD2LBWQ