Leetcode 1779. Find Nearest Point That Has the Same X or Y Coordinate | Hello Interview