Rosetta Problems

Number of Squareful Arrays

https://leetcode.com/problems/number-of-squareful-arrays