This commit is contained in:
2026-05-23 20:29:33 +05:00
parent 8fd749fe9e
commit 9d30fc897c
6 changed files with 60 additions and 0 deletions

5
solutions/lc1725.py Normal file
View File

@@ -0,0 +1,5 @@
class Solution:
def countGoodRectangles(self, rectangles: List[List[int]]) -> int:
sqrs = [min(i) for i in rectangles]
return sqrs.count(max(sqrs))