Javascript faster than 100% solution.
\n\n/**\n * @param {number[]} rec1\n * @param {number[]} rec2\n * @return {boolean}\n */\nvar isRectangleOverlap = function(rec1, rec2) {\n    if( (Math.min(rec
\n```\n/**\n * @param {number[]} rec1\n * @param {number[]} rec2\n * @return {boolean}\n */\nvar isRectangleOverlap = function(rec1, rec2) {\n    if( (Math.min(rec1[2],rec2[2]) - Math.max(rec1[0],rec2[0])>0)\n\t\t\t&&\n\t\t(Math.min(rec1[3],rec2[3]) - Math.max(rec1[1],rec2[1])>0)){\n\t\t\t   return true;\n       }\n    return false;\n};\n```\n![image](https://assets.leetcode.com/users/shraddhashahce/image_1554932529.png)
[]