Some answers to test cases are wrong

  • 0

    According to the problem statement, "Given n points on a 2D plane, find if there is such a line parallel to y-axis that reflect the given points", duplicate points on same (x, y) location should be regarded as different points.

    One of the test cases has input "[[16,1],[-16,1],[16,1]]" and output "true"; however, it should be definitely "false".

    I would appreciate it if someone can kindly fix the test cases.

Log in to reply

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.