Erroneous Test Cases


  • 0
    H

    @administrators @contributors @stellari - There is a new erroneous test case that has been added to this program.

    Input: [[0,2,3],[4,6,3],[2,4,3]]
    Expected: [[0,3],[6,0]]
    
    Output: [[0,3],[2,0],[4,3],[6,0]]
    

    As mentioned in the problem, input buildings are sorted by their start location. Hence, this input is invalid.
    I had solved this problem (Accepted) a few weeks ago, but now the same code fails because of this new test case.


  • 0

    @humachine Thanks for reporting, sorry I added this erroneous test case. This is now fixed.


Log in to reply
 

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