Is this test case correct?


  • 0
    X

    Input:
    [10,9,8,7]
    [5,6,7,8]
    Output:
    3
    Expected:
    2

    Why does the above test case expect 2 as the result? I think 3 is the result:
    7 given to 7
    8 given to 8
    5+6 given to 10.


Log in to reply
 

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