Only edge test 4 failing

Only Edge test 4 failing! Any hints regarding this testcase

case:
1
1
1
1 -1 -1
0
Fixed with this edge case. Thanks @Sumanth_Uppala

Closing this topic as it has been solved by you yourself. Great job, keep working hard. if its not resolved feel free to un-mark the accepted solution to re-open the topic.