Find Nearest Point That Has the Same X or Y Coordinate

easySolve on LeetCode
Last edited: July 31, 2025