1 2 -10 -8 -7
My code return false with this test case, but got accepted.
Thanks, I have just added this test case.
Can you also add [2,5,3,4,5]
Thanks, added that as well.
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.