You are given an array rectangles containing rectangles[i] =
Two rectangles
Return the total number of interchangeable pairs of rectangles in rectangles.
Constraints:
rectangles.length
rectangles[i].length
You are given an array rectangles containing rectangles[i] =
Two rectangles
Return the total number of interchangeable pairs of rectangles in rectangles.
Constraints:
rectangles.length
rectangles[i].length