LeetCode --- 1725. Number Of Rectangles That Can Form The Largest Square 解题报告
Youaregivenanarrayrectangleswhererectangles[i]=[li,wi]representstheithrectangleoflengthliandwidthwi.Youcancuttheithrectangletoformasquarewithasidelengthofkifbothk<=liandk<=wi.Forexample,ifyouhavearect