2 lines of code in cpp || easy to understand
\nclass Solution {\npublic:\n    bool isRectangleOverlap(vector<int>& r1, vector<int>& r2) {\n      int x_overlapp = (min(r1[2],r2[2]) - max(r1[0],r2[0])), y_ov
```\nclass Solution {\npublic:\n    bool isRectangleOverlap(vector<int>& r1, vector<int>& r2) {\n      int x_overlapp = (min(r1[2],r2[2]) - max(r1[0],r2[0])), y_overlapp=(min(r1[3],r2[3])-max(r1[1],r2[1]));\n      return (x_overlapp>0 && y_overlapp>0)?true:false;\n    }\n};\n```
['C++']