Number of Ships in a Rectangle

hardSolve on LeetCode
Last edited: October 12, 2025