Missing vertex among N axis-parallel rectangles
Given N axis-parallel rectangles in a 2-D Cartesian coordinate system and coordinates of 4N-1 vertices, the task is to find the single vertex missing. Examples: Input: N = 2, V[][] = {{1, 1}, {1, 2}, {4, 6}, {2, 1}, {9, 6}, {9, 3}, {4, 3}}Output: {2, 2} Explanation: The coordinates forming an axis parallel rectangle are {4, 6}, {9, 6}, {4, 3}, {9,