@dharaB said in What is exactly problem?:

[(-4,1), (-2, 6), (4, 1), (2, 6)]

I did not understand the problem at first either.

The input set you gave should return true because the line x=0 is the reflection line. However, I think you misunderstand the problem because the reflection line does not have to be x=0, so the reflect point for (x,y) does not have to be (-x, y). The pair, however, should have same y.

So for example, [[-5,1], [-3, 6], [3, 1], [1, 6]] should return true also. Every point is left-shifted by 1 from the input set you gave. The new reflection line is x=-1.

Hope this helps!