Get Minimum Squares Leetcode Javascript Problems Practice