Wrong answer for a test case

  • 0

    This is the test case i ran on the code. The OJ tells me the output should be true , but the correct answer is false, which even my code confirms . What could be causing this ??

    Test case :[5,1,5,5,2,4]

  • 2


    It has a valid triplet.

    OJ is correct.

Log in to reply

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