C++ Solution
\nclass Solution {\npublic:\n    bool isRectangleOverlap(vector<int>& rec1, vector<int>& rec2) {\n        int x1 = rec1[0], y1 = rec1[1], x2 = rec1[2], y2 = rec
```\nclass Solution {\npublic:\n    bool isRectangleOverlap(vector<int>& rec1, vector<int>& rec2) {\n        int x1 = rec1[0], y1 = rec1[1], x2 = rec1[2], y2 = rec1[3];\n        int x3 = rec2[0], y3 = rec2[1], x4 = rec2[2], y4 = rec2[3];\n        if(x2 <= x3 || x4 <= x1) return false;\n        if(y2 <= y3 || y4 <= y1) return false;\n        return true;\n    }\n};\n```
['C']