I need an algorithm that takes an unsorted array of axis aligned rectangles and returns any pair of rectangles that overlaps
Each rectangle has two variables, coordinates of the upper-left corner and the bottom-right corner
I need an algorithm that takes an unsorted array of axis aligned rectangles and returns any pair of rectangles that overlaps
Each rectangle has two variables, coordinates of the upper-left corner and the bottom-right corner