Last test case couldn't pass

i have used two pointer method it takes care of negative integers even though it couldn’t pass the last test case, may I know what the corner case is?

Hello @jkanagha please share your code by saving it on ide.codingblocks.com.
please share it.

corrected your code: