356. Line Reflection
ArrayHash TableMath
Hints
Hint 1
Find the smallest and largest x-value for all points.
Hint 2
If there is a line then it should be at y = (minX + maxX) / 2.
Hint 3
For each point, make sure that it has a reflected point in the opposite side.
Preparing judge…