NeetCode #938LC-356MediumMath & Geometry
← Back to All Problems#938 · #356 · Line Reflection(直线镜像)
📌 Problem Statement & Constraints
Given
n integer points points[i] = [xi, yi], determine whether a line parallel to the y-axis exists such that reflecting every point across it yields a point also in the set. Constraints: 1 <= n <= 10^4, -10^8 <= xi, yi <= 10^8.🔒
Sign In to Unlock Full Solutions for All 973 Problems
Sign in to access step-by-step logic, benchmark Python3 code, complexity breakdown, and offline export!