Leetcode 3454. Separate Squares II | Hello Interview