Rosetta Problems

Maximum Square Area by Removing Fences From a Field

https://leetcode.com/problems/maximum-square-area-by-removing-fences-from-a-field