Solution
C++ []\nclass Solution {\npublic:\n    bool isRectangleOverlap(vector<int>& rec1, vector<int>& rec2) {\n      return rec1[0]<rec2[2] && rec1[1] < rec2[3] && rec
```C++ []\nclass Solution {\npublic:\n    bool isRectangleOverlap(vector<int>& rec1, vector<int>& rec2) {\n      return rec1[0]<rec2[2] && rec1[1] < rec2[3] && rec2[0]<rec1[2] && rec2[1]< rec1[3];\n    }\n};\n```\n\n```Python3 []\nclass Solution:\n    def isRectangleOverlap(self, rec1: List[int], rec2: List[int]) -> bool:\n        \n        width = min(rec1[2], rec2[2]) - max(rec1[0], rec2[0])\n        height = min(rec1[3], rec2[3]) - max(rec1[1], rec2[1])\n        return True if width > 0 and height > 0 else False\n```\n\n```Java []\nclass Solution {\n    public boolean isRectangleOverlap(int[] rec1, int[] rec2) {\n        return \n            rec1[0] < rec2[2] &&\n            rec1[1] < rec2[3] &&\n            rec1[2] > rec2[0] &&\n            rec1[3] > rec2[1]\n        ;\n    }\n}\n```\n
['C++', 'Java', 'Python3']