[[-1],[3,2],[-3,1,-1]] Expected: -1? Why not -2?


  • 1
    R

    I think we can come out -2 by selecting
    Level 0: 0 (-1)
    Level 1: 1 (2)
    Level 2: 0 (-3)
    min = -1 + 2 + (-3) = -2


Log in to reply
 

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