C++ Solution
\nclass Solution {\npublic:\n    bool isRectangleOverlap(vector<int>& rec1, vector<int>& rec2) {\n        return max(rec1.at(0), rec2.at(0)) < min(rec1.at(2), r
```\nclass Solution {\npublic:\n    bool isRectangleOverlap(vector<int>& rec1, vector<int>& rec2) {\n        return max(rec1.at(0), rec2.at(0)) < min(rec1.at(2), rec2.at(2)) && \n               max(rec1.at(1), rec2.at(1)) < min(rec1.at(3), rec2.at(3));\n    }\n};\n```
[]