Rectangle Overlap Solutions in GoNumber 836Difficulty EasyAcceptance 48.5%Link LeetCodeOther languages —SolutionsGo solution by halfrost/LeetCode-Gopackage leetcode func isRectangleOverlap(rec1 []int, rec2 []int) bool { return rec1[0] < rec2[2] && rec2[0] < rec1[2] && rec1[1] < rec2[3] && rec2[1] < rec1[3]}package leetcode func isRectangleOverlap(rec1 []int, rec2 []int) bool { return rec1[0] < rec2[2] && rec2[0] < rec1[2] && rec1[1] < rec2[3] && rec2[1] < rec1[3] }