Wrong answer - Input: [[1,2,1],[-2,-3,-3],[3,2,-2]] Output: 2 Expected: 1


  • 0
    O

    The test case 34 is
    Input: [[1,2,1],[-2,-3,-3],[3,2,-2]]
    Output: 2
    Expected: 1

    My answer is 2 but the expected answer 1. How can the answer be 1? Thanks for your help.


  • 2
    S

    RIGHT-DOWN-DOWN-RIGHT
    1+1=2
    2+2=4
    4-3=1
    1+2=3
    3-2=1 OK


Log in to reply
 

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