Rosetta Problems

Count Submatrices With Equal Frequency of X and Y

https://leetcode.com/problems/count-submatrices-with-equal-frequency-of-x-and-y