https://paolochang.github.io/posts/leetcode-1779/
Leetcode 1779. Find Nearest Point That Has the Same X or Y Coordinate - Paolography