Line Reflection
Given n
points on a 2D plane, find if there is such a line parallel to y-axis that reflect the given points.
Example
Example1
Example2
Challenge
Could you do better than O(n2)?
Last updated
Given n
points on a 2D plane, find if there is such a line parallel to y-axis that reflect the given points.
Example1
Example2
Could you do better than O(n2)?
Last updated