Get Minimum Squares Leetcode Problems