leetcode 836. 矩形重疊

近期一直在用python刷leetcode的題,代碼都提交到了github上了:https://github.com/Teingi/testhtml 矩形以列表 [x1, y1, x2, y2] 的形式表示,其中 (x1, y1) 爲左下角的座標,(x2, y2) 是右上角的座標。python 若是相交的面積爲正,則稱兩矩形重疊。須要明確的是,只在角或邊接觸的兩個矩形不構成重疊。git 給出兩個矩
相關文章
相關標籤/搜索