JAVA | Clean solution ☕✅
Please Upvote :D\n\nclass Solution {\n    public boolean isRectangleOverlap(int[] rec1, int[] rec2) {\n        return \n            rec1[0] < rec2[2] &&\n      
### **Please Upvote** :D\n```\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// TC: O(1), SC: O(1)\n```
['Java']