Python - Easy to understand
\n\nclass Solution:\n    def countGoodRectangles(self, rectangles: List[List[int]]) -> int:\n     \n        #Runtime: 184 ms, faster than 65.71% of Python3 onli
```\n\nclass Solution:\n    def countGoodRectangles(self, rectangles: List[List[int]]) -> int:\n     \n        #Runtime: 184 ms, faster than 65.71% of Python3 online submissions\n        #Memory Usage: 14.9 MB, less than 39.90% of Python3 online submissions\n        \n        res = []\n        \n        minSide = 0\n        maxLen = 0\n        \n        for l, w in rectangles:\n            \n            minSide = min(l, w)   #Gets minSide of each rectangle\n            \n            if minSide > maxLen:  #Checks if rectangle holds new maxLen\n                maxLen = minSide  #Tracks the current maxLen \n            \n            res.append(minSide)   #Holds each rectangles minSIde\n            \n            \n        return res.count(maxLen)#Returns the count of rectangles whos minSide is equal to maxLen\n\t\t\n```
['Python']