Driver Code
public static void Main ( ) { int [ ] x1 = { 0 , 50 } ; int [ ] y1 = { 0 , 50 } ; int [ ] x2 = { 100 , 60 } ; int [ ] y2 = { 100 , 60 } ; int N = x1 . Length ; maxOverlappingRectangles ( x1 , y1 , x2 , y2 , N ) ; } }