I got an error:
why answer is -1?
Because -1 + 3 + -3 is -1 and because it's the lowest possible. I guess you're jumping from 2 to -3? That's not allowed.
oh~ I see.
Thanks for your reply.
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.